aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2011-12-02 17:57:17 -0800
committerAlon Zakai <alonzakai@gmail.com>2011-12-02 17:57:17 -0800
commitb9522ed475bda6fda0cad4a7302d9f23b4529ad0 (patch)
treeb587c6a9d233eec3b2061d49f07c00b43c6b7e00 /tests
parent668a596590c4993e763c2a448c7727171d421bab (diff)
fix poppler test
Diffstat (limited to 'tests')
-rw-r--r--tests/runner.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/runner.py b/tests/runner.py
index b372ee51..ea2025b7 100644
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -3576,8 +3576,10 @@ if 'benchmark' not in str(sys.argv):
src = open(filename, 'a')
src.write(
'''
+ FS.ignorePermissions = true;
FS.createDataFile('/', 'paper.pdf', eval(read('paper.pdf.js')), true, false);
FS.root.write = true;
+ FS.ignorePermissions = false;
run();
print("Data: " + JSON.stringify(FS.root.contents['filename-1.ppm'].contents));
'''