summaryrefslogtreecommitdiff
path: root/tools/target_test.py
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2020-05-06 15:51:33 -0400
committerGitHub <noreply@github.com>2020-05-06 15:51:33 -0400
commit221221cc9758225a85ecebb2de206591abf16e68 (patch)
treee050bc8601d1ab2b6c6a7a44fbeaa0ce40868685 /tools/target_test.py
parent76c77bb32c642283e61c9a6bb4936401fc43eaba (diff)
BREAKING: execPath should require allow-read (#5109)
Diffstat (limited to 'tools/target_test.py')
-rw-r--r--tools/target_test.py17
1 files changed, 0 insertions, 17 deletions
diff --git a/tools/target_test.py b/tools/target_test.py
index 192f4183a..690ae2dc9 100644
--- a/tools/target_test.py
+++ b/tools/target_test.py
@@ -31,23 +31,6 @@ class TestTarget(DenoTestCase):
result = run_output([self.deno_exe, "run", t], quiet=True)
assert result.out.strip() == "noColor false"
- def test_exec_path(self):
- cmd = [
- self.deno_exe, "run", "--allow-run", "--allow-env",
- "cli/tests/exec_path.ts"
- ]
- result = run_output(cmd, quiet=True)
- print "exec_path", result
- self.assertEqual(result.code, 0)
- if os.name == "nt":
- # When running in github actions, the windows drive letter of the
- # executable path reported by deno has a different case than the one
- # reported by python.
- assert self.deno_exe.upper() in result.out.strip().upper()
- assert self.deno_exe[1:] in result.out.strip()
- else:
- assert self.deno_exe in result.out.strip()
-
if __name__ == "__main__":
run_tests()