Skip to content

Commit cdcfeb7

Browse files
committedJun 22, 2016
test: refresh the tmpdir before using
Test fails if tmp dir does not exist when the test is run. Add common.refreshTmpDir() so that doesn't happen. PR-URL: #7327 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Johan Bergström <bugs@bergstroem.nu> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Brian White <mscdex@mscdex.net> Reviewed-By: Anna Henningsen <anna@addaleax.net>
1 parent 92adbe4 commit cdcfeb7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎test/parallel/test-fs-watch-encoding.js

+2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ if (common.isFreeBSD) {
1010
return;
1111
}
1212

13+
common.refreshTmpDir();
14+
1315
const fn = '新建文夹件.txt';
1416
const a = path.join(common.tmpDir, fn);
1517

0 commit comments

Comments
 (0)
Please sign in to comment.