Skip to content

Commit 51b5998

Browse files
committed
[squash] always skip mkfifo on windows
1 parent 25b89b2 commit 51b5998

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/parallel/test-fs-read-stream.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -180,14 +180,14 @@ common.expectsError(
180180
}));
181181
}
182182

183-
{
183+
if (!common.isWindows) {
184184
// Verify that end works when start is not specified, and we do not try to
185185
// use positioned reads. This makes sure that this keeps working for
186186
// non-seekable file descriptors.
187187
tmpdir.refresh();
188188
const filename = `${tmpdir.path}/foo.pipe`;
189189
const mkfifoResult = child_process.spawnSync('mkfifo', [filename]);
190-
if (!common.isWindows && !mkfifoResult.error) {
190+
if (!mkfifoResult.error) {
191191
child_process.exec(`echo "xyz foobar" > '${filename}'`);
192192
const stream = new fs.createReadStream(filename, { end: 1 });
193193
stream.data = '';

0 commit comments

Comments
 (0)