summaryrefslogtreecommitdiff
path: root/tests/specs/compile/relative_permissions/__test__.jsonc
blob: d5d3c499aca79ba0042596b6b8928ecf2a5e995e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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]"
  }]
}