aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-10-16 11:32:13 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-10-16 11:32:13 -0700
commit909a67e8b1ea7077b6afd8c7c32b8cf045fb3d90 (patch)
tree075ea3a74ad91c4cba6051d346dbd1a56f88a5af
parent9c98148da0a3888d1d3fcb52361ba2fe52718d20 (diff)
add more necessary unistd clear()s
-rw-r--r--tests/test_core.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_core.py b/tests/test_core.py
index 8ba9295a..4ab8f8e1 100644
--- a/tests/test_core.py
+++ b/tests/test_core.py
@@ -7762,6 +7762,7 @@ def process(filename):
self.do_run(src, 'success', force_c=True, js_engines=[NODE_JS])
def test_unistd_access(self):
+ self.clear()
if not self.is_le32(): return self.skip('le32 needed for inline js')
for fs in ['MEMFS', 'NODEFS']:
src = open(path_from_root('tests', 'unistd', 'access.c'), 'r').read()
@@ -7800,6 +7801,7 @@ def process(filename):
self.do_run(src, expected)
def test_unistd_truncate(self):
+ self.clear()
if not self.is_le32(): return self.skip('le32 needed for inline js')
for fs in ['MEMFS', 'NODEFS']:
src = open(path_from_root('tests', 'unistd', 'truncate.c'), 'r').read()