test: fix and refactor test-fs-watch-non-recursive
test-fs-watch-non-recursive was loading the common/tmpdir
module as if
it were a built-in and was failing because of it. Fix the path. The test
now works.
The test was duplicating some functionality in the tmpdir
module. Use tmpdir
module instead.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines