@no_windows('https://github.com/emscripten-core/emscripten/issues/8882')
def test_unistd_access(self):
    self.clear()
    orig_compiler_opts = self.emcc_args[:]
    for fs in ['MEMFS', 'NODEFS']:
        self.emcc_args = (orig_compiler_opts + [('-D' + fs)])
        if (fs == 'NODEFS'):
            self.emcc_args += ['-lnodefs.js']
        self.do_run_in_out_file_test('tests', 'unistd', 'access', js_engines=[NODE_JS])
    if (not WINDOWS):
        self.emcc_args = orig_compiler_opts
        self.emcc_args += ['-s', 'NODERAWFS=1']
        self.do_run_in_out_file_test('tests', 'unistd', 'access', js_engines=[NODE_JS])
@no_windows('https://github.com/emscripten-core/emscripten/issues/8882')
def test_unistd_access(self):
    self.clear()
    orig_compiler_opts = self.emcc_args[:]
    for fs in ['MEMFS', 'NODEFS']:
        self.emcc_args = (orig_compiler_opts + [('-D' + fs)])
        if (fs == 'NODEFS'):
            self.emcc_args += ['-lnodefs.js']
        self.do_run_in_out_file_test('tests', 'unistd', 'access', js_engines=[NODE_JS])
    if (not WINDOWS):
        self.emcc_args = orig_compiler_opts
        self.emcc_args += ['-s', 'NODERAWFS=1']
        self.do_run_in_out_file_test('tests', 'unistd', 'access', js_engines=[NODE_JS])