main shinobi / tests / mk / gnu / options / dash-n / t004 / test.json
 1{
 2  "case": "t004",
 3  "category": "options/dash-n",
 4  "compare_output": true,
 5  "description": "Test the -n option.\n",
 6  "details": "Try various uses of -n and ensure they all give the correct results.\n",
 7  "env": {},
 8  "expected_exit": 0,
 9  "options": "-n",
10  "options_mode": "shell",
11  "output_mode": "exact",
12  "setup": [
13    {
14      "content": "\n",
15      "kind": "file",
16      "mode": "0644",
17      "mtime": 1778707209,
18      "path": "a"
19    },
20    {
21      "content": "\n",
22      "kind": "file",
23      "mode": "0644",
24      "mtime": 1778707199,
25      "path": "b"
26    },
27    {
28      "content": "\n",
29      "kind": "file",
30      "mode": "0644",
31      "mtime": 1778707219,
32      "path": "c"
33    },
34    {
35      "content": "\n",
36      "kind": "file",
37      "mode": "0644",
38      "mtime": 1778707219,
39      "path": "final"
40    },
41    {
42      "content": "\n",
43      "kind": "file",
44      "mode": "0644",
45      "mtime": 1778707219,
46      "path": "intermediate"
47    },
48    {
49      "content": "\n",
50      "kind": "file",
51      "mode": "0644",
52      "mtime": 1778707219,
53      "path": "orig"
54    }
55  ],
56  "source_script": "options/dash-n",
57  "stdin": "",
58  "suite": "gnu",
59  "timeout_seconds": 60
60}