main shinobi / tests / mk / gnu / features / temp_stdin / t007 / test.json
 1{
 2  "case": "t007",
 3  "category": "features/temp_stdin",
 4  "compare_output": true,
 5  "description": "Test handling of temporary file created from stdin.",
 6  "details": "",
 7  "env": {
 8    "TMPDIR": "test_tmp_dir"
 9  },
10  "expected_exit": 512,
11  "options": "-f-",
12  "options_mode": "shell",
13  "output_mode": "regex",
14  "setup": [
15    {
16      "content": "moon:=2\n\n\n",
17      "kind": "file",
18      "mode": "0644",
19      "mtime": 1778706610,
20      "path": "bye.mk"
21    },
22    {
23      "content": "world:=1\n",
24      "kind": "file",
25      "mode": "0644",
26      "mtime": 1778707210,
27      "path": "input.mk"
28    },
29    {
30      "kind": "dir",
31      "mode": "0500",
32      "mtime": 1778707210,
33      "path": "test_tmp_dir"
34    }
35  ],
36  "source_script": "features/temp_stdin",
37  "stdin": "world:=1\n",
38  "suite": "gnu",
39  "timeout_seconds": 60
40}