test: make fs-watch-recursive less racy
authorFedor Indutny <fedor.indutny@gmail.com>
Thu, 21 Nov 2013 17:06:29 +0000 (21:06 +0400)
committerFedor Indutny <fedor.indutny@gmail.com>
Tue, 10 Dec 2013 18:08:41 +0000 (22:08 +0400)
commit78cd4533d9f14cd83e9cd7817dffdd4e6af600c5
tree5a748bc2313be684b589ec3d4795bc2ad7622b8b
parent259d44962291bc73ae60919ea6442d762ee139d2
test: make fs-watch-recursive less racy

FSEventStream may emit events that happened right before it has started.
Ignore changes emitted for the directory itself, since they may come
from the stale events.
test/simple/test-fs-watch-recursive.js