summaryrefslogtreecommitdiff
path: root/tests/specs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2024-11-12 17:14:19 -0500
committerGitHub <noreply@github.com>2024-11-12 17:14:19 -0500
commit119910f3395cf073b7acf6a31c207daf597917f1 (patch)
treef7f6ba942feaa0b0c5f0f41dbed384da84223f17 /tests/specs
parent01f3451869f56dc0651d8cd30bf8540aeb462c04 (diff)
fix(permissions): say to use --allow-run instead of --allow-all (#26842)
For https://github.com/denoland/deno/issues/26839
Diffstat (limited to 'tests/specs')
-rw-r--r--tests/specs/run/ld_preload/env_arg.out4
-rw-r--r--tests/specs/run/ld_preload/env_arg.ts4
-rw-r--r--tests/specs/run/ld_preload/set_with_allow_env.out4
3 files changed, 6 insertions, 6 deletions
diff --git a/tests/specs/run/ld_preload/env_arg.out b/tests/specs/run/ld_preload/env_arg.out
index 945737e65..d87a1115c 100644
--- a/tests/specs/run/ld_preload/env_arg.out
+++ b/tests/specs/run/ld_preload/env_arg.out
@@ -1,8 +1,8 @@
-NotCapable: Requires --allow-all permissions to spawn subprocess with LD_PRELOAD environment variable.
+NotCapable: Requires --allow-run permissions to spawn subprocess with LD_PRELOAD environment variable. Alternatively, spawn with the environment variable unset.
[WILDCARD]
name: "NotCapable"
}
-NotCapable: Requires --allow-all permissions to spawn subprocess with LD_PRELOAD environment variable.
+NotCapable: Requires --allow-run permissions to spawn subprocess with LD_PRELOAD environment variable. Alternatively, spawn with the environment variable unset.
[WILDCARD]
name: "NotCapable"
}
diff --git a/tests/specs/run/ld_preload/env_arg.ts b/tests/specs/run/ld_preload/env_arg.ts
index d7ca1073d..fe043d56d 100644
--- a/tests/specs/run/ld_preload/env_arg.ts
+++ b/tests/specs/run/ld_preload/env_arg.ts
@@ -1,5 +1,5 @@
try {
- new Deno.Command("echo", {
+ new Deno.Command("curl", {
env: {
"LD_PRELOAD": "./libpreload.so",
},
@@ -10,7 +10,7 @@ try {
try {
Deno.run({
- cmd: ["echo"],
+ cmd: ["curl"],
env: {
"LD_PRELOAD": "./libpreload.so",
},
diff --git a/tests/specs/run/ld_preload/set_with_allow_env.out b/tests/specs/run/ld_preload/set_with_allow_env.out
index f89582d6c..570515fc0 100644
--- a/tests/specs/run/ld_preload/set_with_allow_env.out
+++ b/tests/specs/run/ld_preload/set_with_allow_env.out
@@ -1,8 +1,8 @@
-NotCapable: Requires --allow-all permissions to spawn subprocess with LD_PRELOAD environment variable.
+NotCapable: Requires --allow-run permissions to spawn subprocess with LD_PRELOAD environment variable. Alternatively, spawn with the environment variable unset.
[WILDCARD]
name: "NotCapable"
}
-NotCapable: Requires --allow-all permissions to spawn subprocess with DYLD_FALLBACK_LIBRARY_PATH, LD_PRELOAD environment variables.
+NotCapable: Requires --allow-run permissions to spawn subprocess with DYLD_FALLBACK_LIBRARY_PATH, LD_PRELOAD environment variables. Alternatively, spawn with these environment variables unset.
[WILDCARD]
name: "NotCapable"
}