diff options
| author | Luca Casonato <hello@lcas.dev> | 2024-09-10 20:12:24 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-10 11:12:24 -0700 |
| commit | 7bfcb4dd10d31f5f9566c90a28449c0951f3a48e (patch) | |
| tree | fca0dec6e98118418f1712c6e8451a04c7e89988 /tests/specs/run | |
| parent | be5419d479fcae16c8a07dec00ce11b532b7996a (diff) | |
feat(cli): use NotCapable error for permission errors (#25431)
Closes #7394
---------
Co-authored-by: snek <snek@deno.com>
Diffstat (limited to 'tests/specs/run')
| -rw-r--r-- | tests/specs/run/ld_preload/env_arg.out | 8 | ||||
| -rw-r--r-- | tests/specs/run/ld_preload/set_with_allow_env.out | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/tests/specs/run/ld_preload/env_arg.out b/tests/specs/run/ld_preload/env_arg.out index 3df781a8e..945737e65 100644 --- a/tests/specs/run/ld_preload/env_arg.out +++ b/tests/specs/run/ld_preload/env_arg.out @@ -1,8 +1,8 @@ -PermissionDenied: Requires --allow-all permissions to spawn subprocess with LD_PRELOAD environment variable. +NotCapable: Requires --allow-all permissions to spawn subprocess with LD_PRELOAD environment variable. [WILDCARD] - name: "PermissionDenied" + name: "NotCapable" } -PermissionDenied: Requires --allow-all permissions to spawn subprocess with LD_PRELOAD environment variable. +NotCapable: Requires --allow-all permissions to spawn subprocess with LD_PRELOAD environment variable. [WILDCARD] - name: "PermissionDenied" + name: "NotCapable" } 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 60dba7cff..f89582d6c 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 @@ -PermissionDenied: Requires --allow-all permissions to spawn subprocess with LD_PRELOAD environment variable. +NotCapable: Requires --allow-all permissions to spawn subprocess with LD_PRELOAD environment variable. [WILDCARD] - name: "PermissionDenied" + name: "NotCapable" } -PermissionDenied: Requires --allow-all permissions to spawn subprocess with DYLD_FALLBACK_LIBRARY_PATH, LD_PRELOAD environment variables. +NotCapable: Requires --allow-all permissions to spawn subprocess with DYLD_FALLBACK_LIBRARY_PATH, LD_PRELOAD environment variables. [WILDCARD] - name: "PermissionDenied" + name: "NotCapable" } |
