Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2018-01-05 04:03:44 +0300
committerMyles Borins <mylesborins@google.com>2018-02-27 08:21:28 +0300
commit66a19cf3d60c0698210444ca364bdf72200d159f (patch)
treedac7d32bc2dba275b169b8b35c7a4b1cd943464b /test
parent22ddc43d079e7af2ff5867af5fc99977788b8d35 (diff)
test: use smaller input file for test-zlib.js
PR-URL: https://github.com/nodejs/node/pull/17988 Fixes: https://github.com/nodejs/node/issues/17986 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Diffstat (limited to 'test')
-rw-r--r--test/parallel/test-zlib.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-zlib.js b/test/parallel/test-zlib.js
index b2201fca4c9..1f6965d1247 100644
--- a/test/parallel/test-zlib.js
+++ b/test/parallel/test-zlib.js
@@ -157,7 +157,7 @@ assert.doesNotThrow(() => {
}, 'windowsBits set to 8 should follow legacy zlib behavior');
{
- const node = fs.createReadStream(process.execPath);
+ const node = fs.createReadStream(fixtures.path('person.jpg'));
const raw = [];
const reinflated = [];
node.on('data', (chunk) => raw.push(chunk));