1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-01 16:51:13 -05:00
denoland-deno/cli/tests/integration
Nayeem Rahman 1cce306022
fix(runtime/permissions): Resolve executable specifiers in allowlists and queries (#14130)
Closes #14122.

Adds two extensions to `--allow-run` behaviour:
- When `--allow-run=foo` is specified and `foo` is found in the `PATH`
at startup, `RunDescriptor::Path(which("foo"))` is added to the
allowlist alongside `RunDescriptor::Name("foo")`. Currently only the
latter is.
- When run permission for `foo` is queried and `foo` is found in the
`PATH` at runtime, either `RunDescriptor::Path(which("foo"))` or
`RunDescriptor::Name("foo")` would qualify in the allowlist. Currently
only the latter does.
2023-08-30 18:52:01 +01:00
..
bench_tests.rs test(bench): mark explicit timer test as flaky (#20304) 2023-08-27 22:22:23 +02:00
bundle_tests.rs feat(cli): --ext parameter for run, compile, and bundle (#17172) 2023-03-22 10:15:53 -04:00
cache_tests.rs chore(tests): test_util - Add PathRef (#19450) 2023-06-10 11:09:45 -04:00
cert_tests.rs chore(tests): test_util - Add PathRef (#19450) 2023-06-10 11:09:45 -04:00
check_tests.rs chore(cli): use NPM_CONFIG_REGISTRY for all tests (#20320) 2023-08-29 13:02:54 -06:00
compile_tests.rs refactor: upgrade deno_ast 0.28 and deno_semver 0.4 (#20193) 2023-08-21 09:53:52 +00:00
coverage_tests.rs chore(cli): use NPM_CONFIG_REGISTRY for all tests (#20320) 2023-08-29 13:02:54 -06:00
doc_tests.rs fix(info/doc): add missing --no-lock and --lock flags (#18166) 2023-03-13 17:04:00 -04:00
eval_tests.rs tests: move integration tests to a single module (#17380) 2023-01-13 02:59:13 +01:00
flags_tests.rs fix(cli): Fix the bug where the command description is not displayed. (#19604) 2023-06-28 02:57:20 +02:00
fmt_tests.rs chore: update to Rust 1.72 (#20258) 2023-08-26 22:04:12 -06:00
info_tests.rs fix: deno info should respect import map (#19781) 2023-07-25 18:23:43 +02:00
init_tests.rs refactor(init): simplify template (#20325) 2023-08-29 19:58:56 +00:00
inspector_tests.rs fix(ext/web): add stream tests to detect v8slice split bug (#20253) 2023-08-23 17:03:05 -06:00
install_tests.rs chore(tests): test_util - Add PathRef (#19450) 2023-06-10 11:09:45 -04:00
js_unit_tests.rs fix(ext/kv): don't panic if listening on queues and KV is not closed (#20317) 2023-08-29 11:24:44 -07:00
lint_tests.rs chore: update to Rust 1.72 (#20258) 2023-08-26 22:04:12 -06:00
lsp_tests.rs fix(lsp): delete test modules with all tests deleted (#20321) 2023-08-29 09:43:11 +01:00
mod.rs refactor: move shared library tests to their own file (#18479) 2023-03-28 13:40:43 -04:00
node_compat_tests.rs chore(cli): use NPM_CONFIG_REGISTRY for all tests (#20320) 2023-08-29 13:02:54 -06:00
node_unit_tests.rs chore(cli): use NPM_CONFIG_REGISTRY for all tests (#20320) 2023-08-29 13:02:54 -06:00
npm_tests.rs refactor: upgrade deno_ast 0.28 and deno_semver 0.4 (#20193) 2023-08-21 09:53:52 +00:00
repl_tests.rs chore: update to Rust 1.72 (#20258) 2023-08-26 22:04:12 -06:00
run_tests.rs fix(runtime/permissions): Resolve executable specifiers in allowlists and queries (#14130) 2023-08-30 18:52:01 +01:00
shared_library_tests.rs feat(node/os): implement getPriority, setPriority & userInfo (#19370) 2023-07-31 22:29:09 +02:00
task_tests.rs fix(npm): run pre and post tasks if present (#19178) 2023-05-18 15:51:17 -04:00
test_tests.rs feat(cli/tools): add TAP test reporter (#14390) (#20073) 2023-08-26 01:19:23 +02:00
upgrade_tests.rs chore(tests): test_util - Add PathRef (#19450) 2023-06-10 11:09:45 -04:00
vendor_tests.rs feat(vendor): support for npm specifiers (#19186) 2023-05-19 22:39:27 +00:00
watcher_tests.rs fix: move Deno.serve to stable namespace (#19718) 2023-07-04 23:04:26 +00:00
worker_tests.rs fix: regression in workers using dynamic imports (#20006) 2023-08-02 01:19:44 +00:00