test: use tmpDir instead of fixtures in readdir
authorSakthipriyan Vairamani <thechargingvolcano@gmail.com>
Fri, 28 Aug 2015 01:17:10 +0000 (06:47 +0530)
committerJeremiah Senkpiel <fishrock123@rocketmail.com>
Sun, 20 Sep 2015 17:31:27 +0000 (10:31 -0700)
commit816f609c8be319747b35f7e5adb91929396f5185
tree7701bbb97d348afbf20eaa9f66892fb5057a19e8
parentbc9f62938771ef3665032af08265451310736d6e
test: use tmpDir instead of fixtures in readdir

This patch

 - makes the test use tmp directory instead of the fixtures directory,
 - simplifies the code
 - moves the test to `parallel`.

PR-URL: https://github.com/nodejs/node/pull/2587

Reviewed-By: Rich Trott <rtrott@gmail.com>
test/fixtures/readdir/are [deleted file]
test/fixtures/readdir/dir/empty [deleted file]
test/fixtures/readdir/empty [deleted file]
test/fixtures/readdir/files [deleted file]
test/fixtures/readdir/for [deleted file]
test/fixtures/readdir/just [deleted file]
test/fixtures/readdir/testing.js [deleted file]
test/fixtures/readdir/these [deleted file]
test/parallel/test-fs-readdir.js [new file with mode: 0644]
test/sequential/test-readdir.js [deleted file]