We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3137336 commit 07ebf5aCopy full SHA for 07ebf5a
test/test_other.py
@@ -8370,6 +8370,17 @@ def test_noderawfs_disables_embedding(self):
8370
err = self.expect_fail(base + ['--embed-file', 'somefile'])
8371
self.assertContained(expected, err)
8372
8373
+ def test_noderawfs_access_abspath(self):
8374
+ create_file('foo', 'bar')
8375
+ create_file('access.c', r'''
8376
+ #include <unistd.h>
8377
+ int main(int argc, char** argv) {
8378
+ return access(argv[1], F_OK);
8379
+ }
8380
+ ''')
8381
+ self.run_process([EMCC, 'access.c', '-sNODERAWFS'])
8382
+ self.run_js('a.out.js', args=[os.path.abspath('foo')])
8383
+
8384
@disabled('https://github.com/nodejs/node/issues/18265')
8385
def test_node_code_caching(self):
8386
self.run_process([EMCC, test_file('hello_world.c'),
0 commit comments