diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-01-16 12:09:19 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-01-16 12:09:19 -0800 |
commit | fbfcffe2ee61ed39598f883523455ad713690aea (patch) | |
tree | 9b193e6f280e39850dc0047e2002d4c770b594f6 /tests | |
parent | 5fe3bcc54b6c7ee04d0b09cc3e44e0cd06b95405 (diff) |
remove hack for ignorePermissions in the filesystem API, which removes the need to set ignorePermissions to true before run() is called
Diffstat (limited to 'tests')
-rw-r--r-- | tests/runner.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/runner.py b/tests/runner.py index bf8cc3d5..1bd07564 100644 --- a/tests/runner.py +++ b/tests/runner.py @@ -4085,9 +4085,7 @@ def process(filename): src.write(\'\'\' FS.init(); FS.root.write = true; - FS.ignorePermissions = true; // /dev is read-only FS.createPath('/', 'dev/shm/tmp', true, true); - FS.ignorePermissions = false; FS.currentPath = '/dev/shm/tmp'; run(); \'\'\') @@ -4167,10 +4165,8 @@ def process(filename): 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.map(function(x) { return unSign(x, 8) }))); \'\'\' |