diff options
Diffstat (limited to 'test/common/index.js')
-rw-r--r-- | test/common/index.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/common/index.js b/test/common/index.js index 492bb2f357..e76dfcce8b 100644 --- a/test/common/index.js +++ b/test/common/index.js @@ -173,7 +173,7 @@ function childShouldThrowAndAbort() { }); } -function ddCommand(filename) { +function createZeroFilledFile(filename) { const fd = fs.openSync(filename, 'w'); fs.ftruncateSync(fd, 10 * 1024 * 1024); fs.closeSync(fd); @@ -697,7 +697,7 @@ module.exports = { busyLoop, canCreateSymLink, childShouldThrowAndAbort, - ddCommand, + createZeroFilledFile, disableCrashOnUnhandledRejection, enoughTestCpu, enoughTestMem, |