@also_with_noderawfs
@is_slow_test
def test_fs_nodefs_rw(self):
    self.emcc_args += ['-lnodefs.js']
    self.set_setting('SYSCALL_DEBUG', 1)
    src = open(path_from_root('tests', 'fs', 'test_nodefs_rw.c')).read()
    self.do_run(src, 'success', force_c=True)
    if ('-g' not in self.emcc_args):
        print('closure')
        self.emcc_args += ['--closure', '1']
        self.do_run(src, 'success', force_c=True)
@also_with_noderawfs
@is_slow_test
def test_fs_nodefs_rw(self):
    self.emcc_args += ['-lnodefs.js']
    self.set_setting('SYSCALL_DEBUG', 1)
    src = open(path_from_root('tests', 'fs', 'test_nodefs_rw.c')).read()
    self.do_run(src, 'success', force_c=True)
    if ('-g' not in self.emcc_args):
        print('closure')
        self.emcc_args += ['--closure', '1']
        self.do_run(src, 'success', force_c=True)