1 // Copyright (c) 2014-2015 The Notify Authors. All rights reserved.
2 // Use of this source code is governed by the MIT license that can be
3 // found in the LICENSE file.
5 // +build darwin linux freebsd dragonfly netbsd openbsd windows solaris
11 // NOTE Set DEBUG env var for extra debugging info.
13 func TestWatcher(t *testing.T) {
14 w := NewWatcherTest(t, "testdata/vfs.txt")
18 create(w, "src/github.com/ppknap/link/include/coost/.link.hpp.swp"),
19 create(w, "src/github.com/rjeczalik/fs/fs_test.go"),
20 create(w, "src/github.com/rjeczalik/fs/binfs/"),
21 create(w, "src/github.com/rjeczalik/fs/binfs.go"),
22 create(w, "src/github.com/rjeczalik/fs/binfs_test.go"),
23 remove(w, "src/github.com/rjeczalik/fs/binfs/"),
24 create(w, "src/github.com/rjeczalik/fs/binfs/"),
25 create(w, "src/github.com/rjeczalik/fs/virfs"),
26 remove(w, "src/github.com/rjeczalik/fs/virfs"),