main shinobi / tests / mk / gnu / options / dash-e / t003 / test.json
 1{
 2  "case": "t003",
 3  "category": "options/dash-e",
 4  "compare_output": true,
 5  "description": "Test the -e (environment overrides) option",
 6  "details": "",
 7  "env": {
 8    "GOOGLE": "boggle",
 9    "hello": "world"
10  },
11  "expected_exit": 0,
12  "options": "-s",
13  "options_mode": "shell",
14  "output_mode": "exact",
15  "setup": [
16    {
17      "kind": "dir",
18      "mode": "0755",
19      "mtime": 1778707218,
20      "path": "lib"
21    },
22    {
23      "content": "$(info in submake value=$(hello), origin=$(origin hello))\nall:; @echo \"value=$(hello), origin=$(origin hello)\"\n",
24      "kind": "file",
25      "mode": "0644",
26      "mtime": 1778707218,
27      "path": "lib/makefile"
28    }
29  ],
30  "source_script": "options/dash-e",
31  "stdin": "",
32  "suite": "gnu",
33  "timeout_seconds": 60
34}