From 2dcbef2abbf03055d64ee79c5b23318f23a31386 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Mon, 6 May 2024 19:21:58 -0400 Subject: fix(compile): relative permissions should be retained as relative (#23719) Closes #23715 --- .../compile/relative_permissions/__test__.jsonc | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 tests/specs/compile/relative_permissions/__test__.jsonc (limited to 'tests/specs/compile/relative_permissions/__test__.jsonc') diff --git a/tests/specs/compile/relative_permissions/__test__.jsonc b/tests/specs/compile/relative_permissions/__test__.jsonc new file mode 100644 index 000000000..d5d3c499a --- /dev/null +++ b/tests/specs/compile/relative_permissions/__test__.jsonc @@ -0,0 +1,26 @@ +{ + "tempDir": true, + "steps": [{ + "if": "unix", + "args": "compile --output=main --no-prompt --allow-read=a.txt main.ts", + "output": "[WILDCARD]" + }, { + "if": "unix", + "commandName": "./main", + "args": [], + "output": "No such file[WILDCARD]" + }, { + "if": "unix", + "args": [ + "eval", + "Deno.mkdirSync('sub_dir');" + ], + "output": "[WILDCARD]" + }, { + "if": "unix", + "commandName": "../main", + "cwd": "sub_dir", + "args": [], + "output": "No such file[WILDCARD]" + }] +} -- cgit v1.2.3