diff --git a/test/parallel/test-pipe-file-to-http.js b/test/parallel/test-pipe-file-to-http.js index 4bc71069da413f..9b99ddb675de41 100644 --- a/test/parallel/test-pipe-file-to-http.js +++ b/test/parallel/test-pipe-file-to-http.js @@ -29,7 +29,7 @@ const path = require('path'); const tmpdir = require('../common/tmpdir'); tmpdir.refresh(); -const filename = path.join(tmpdir.path || '/tmp', 'big'); +const filename = path.join(tmpdir.path, 'big'); let count = 0; const server = http.createServer((req, res) => {