We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 25b89b2 commit 51b5998Copy full SHA for 51b5998
test/parallel/test-fs-read-stream.js
@@ -180,14 +180,14 @@ common.expectsError(
180
}));
181
}
182
183
-{
+if (!common.isWindows) {
184
// Verify that end works when start is not specified, and we do not try to
185
// use positioned reads. This makes sure that this keeps working for
186
// non-seekable file descriptors.
187
tmpdir.refresh();
188
const filename = `${tmpdir.path}/foo.pipe`;
189
const mkfifoResult = child_process.spawnSync('mkfifo', [filename]);
190
- if (!common.isWindows && !mkfifoResult.error) {
+ if (!mkfifoResult.error) {
191
child_process.exec(`echo "xyz foobar" > '${filename}'`);
192
const stream = new fs.createReadStream(filename, { end: 1 });
193
stream.data = '';
0 commit comments