diff options
author | Kevin (Kun) "Kassimo" Qian <kevinkassimo@gmail.com> | 2019-08-03 18:34:13 -0700 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2019-08-03 21:34:13 -0400 |
commit | 52c13fb3ed94e41d90bbe08d1bc299ca90505755 (patch) | |
tree | a3d1f90da7a4febab0f1fd1adb4e8c85ec40db80 /tools/target_test.py | |
parent | c6861b537ead4bba21817610664d68ffbe7daad5 (diff) |
Enforce env permission on homeDir() and execPath (#2714)
Diffstat (limited to 'tools/target_test.py')
-rw-r--r-- | tools/target_test.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/target_test.py b/tools/target_test.py index 58c5d43c7..6ff3c11e8 100644 --- a/tools/target_test.py +++ b/tools/target_test.py @@ -55,7 +55,10 @@ class TestTarget(DenoTestCase): assert result.out.strip() == "noColor false" def test_exec_path(self): - cmd = [self.deno_exe, "run", "--allow-run", "tests/exec_path.ts"] + cmd = [ + self.deno_exe, "run", "--allow-run", "--allow-env", + "tests/exec_path.ts" + ] result = run_output(cmd, quiet=True) print "exec_path", result.code print result.out |