Skip to content

Commit 53f341c

Browse files
authored
Enable dup() test with legacy FS. NFC (#23772)
Whatever bug existed with dup() seems to have now been fixed on the legacy FS too.
1 parent 80ded52 commit 53f341c

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

test/test_other.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13989,13 +13989,8 @@ def test_unistd_close_noderawfs(self):
1398913989
self.emcc_args += ['--pre-js', 'pre.js']
1399013990
self.do_run_in_out_file_test('unistd/close.c')
1399113991

13992-
# WASMFS tests
13993-
13994-
# TODO: This test will only work with the new file system.
13995-
# Addresses this issue: https://github.com/emscripten-core/emscripten/issues/4017
13996-
# The new file system also correctly identifies errors that the JS file system missed.
13997-
def test_wasmfs_dup(self):
13998-
self.set_setting('WASMFS')
13992+
@also_with_wasmfs
13993+
def test_unistd_dup(self):
1399913994
self.do_run_in_out_file_test('wasmfs/wasmfs_dup.c')
1400013995

1400113996
@also_with_wasmfs

0 commit comments

Comments
 (0)