diff options
author | João Reis <reis@janeasystems.com> | 2019-07-30 07:50:21 +0100 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2019-08-10 19:22:11 -0700 |
commit | 8ef68e66d0465441a79a5dae22e480bf0d83ed25 (patch) | |
tree | 903d3a6fb4172e179717d8bc478729f621201577 /test/pummel/test-regress-GH-814.js | |
parent | 0376b5b7baf627b112915183edf9e1ea2d3856b7 (diff) | |
download | android-node-v8-8ef68e66d0465441a79a5dae22e480bf0d83ed25.tar.gz android-node-v8-8ef68e66d0465441a79a5dae22e480bf0d83ed25.tar.bz2 android-node-v8-8ef68e66d0465441a79a5dae22e480bf0d83ed25.zip |
test: clean tmpdir on process exit
PR-URL: https://github.com/nodejs/node/pull/28858
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'test/pummel/test-regress-GH-814.js')
-rw-r--r-- | test/pummel/test-regress-GH-814.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/pummel/test-regress-GH-814.js b/test/pummel/test-regress-GH-814.js index d7af574e0a..3ae6dd061c 100644 --- a/test/pummel/test-regress-GH-814.js +++ b/test/pummel/test-regress-GH-814.js @@ -37,6 +37,8 @@ function newBuffer(size, value) { } const fs = require('fs'); + +tmpdir.refresh(); const testFileName = require('path').join(tmpdir.path, 'GH-814_testFile.txt'); const testFileFD = fs.openSync(testFileName, 'w'); console.log(testFileName); |