From 52c13fb3ed94e41d90bbe08d1bc299ca90505755 Mon Sep 17 00:00:00 2001 From: "Kevin (Kun) \"Kassimo\" Qian" Date: Sat, 3 Aug 2019 18:34:13 -0700 Subject: Enforce env permission on homeDir() and execPath (#2714) --- tools/target_test.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tools/target_test.py') 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 -- cgit v1.2.3