aboutsummaryrefslogtreecommitdiff
path: root/tests/test_core.py
diff options
context:
space:
mode:
authorJukka Jylänki <jujjyl@gmail.com>2014-04-30 12:30:26 +0300
committerJukka Jylänki <jujjyl@gmail.com>2014-04-30 12:42:04 +0300
commit439612cf923b70e87b4c4e739b90ec1df23ddda3 (patch)
tree350a8362696d762ce1d60446f7c11db0de77debd /tests/test_core.py
parenta395d0e4e3027c9facef4450149bbdd0f8520145 (diff)
Add unit test for FS.trackingDelegate operation.
Diffstat (limited to 'tests/test_core.py')
-rw-r--r--tests/test_core.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test_core.py b/tests/test_core.py
index d25a61be..c9784ec9 100644
--- a/tests/test_core.py
+++ b/tests/test_core.py
@@ -4252,6 +4252,11 @@ def process(filename):
src = open(path_from_root('tests', 'fs', 'test_nodefs_rw.c'), 'r').read()
self.do_run(src, 'success', force_c=True, js_engines=[NODE_JS])
+ def test_fs_trackingdelegate(self):
+ src = path_from_root('tests', 'fs', 'test_trackingdelegate.c')
+ out = path_from_root('tests', 'fs', 'test_trackingdelegate.out')
+ self.do_run_from_file(src, out)
+
def test_unistd_access(self):
self.clear()
if not self.is_emscripten_abi(): return self.skip('asmjs-unknown-emscripten needed for inline js')