diff --git a/test/fs/test_nodefs_readdir.wasmfs_win.out b/test/fs/test_nodefs_readdir.wasmfs_win.out new file mode 100644 index 0000000000000..54e855d2ee0ff --- /dev/null +++ b/test/fs/test_nodefs_readdir.wasmfs_win.out @@ -0,0 +1,13 @@ +listing contents of dir=/ +. +.. +dev +tmp +listing contents of dir=/working +. +.. +existing +stdout +test_nodefs_readdir.js +test_nodefs_readdir.wasm +success diff --git a/test/test_core.py b/test/test_core.py index 9a95ebbd7f74f..35a9ed4e4bbe4 100644 --- a/test/test_core.py +++ b/test/test_core.py @@ -5867,8 +5867,9 @@ def test_fs_nodefs_readdir(self): os.makedirs('existing/a') self.cflags += ['-lnodefs.js'] suffix = '' + # Windows does not add a name_pipe to test expectations. if self.get_setting('WASMFS'): - suffix = '.wasmfs' + suffix = '.wasmfs_win' if WINDOWS else '.wasmfs' elif self.is_wasm2js(): suffix = ".wasm2js" self.do_run_in_out_file_test('fs/test_nodefs_readdir.c', out_suffix=suffix)