1{
2 "case": "t007",
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\n",
15 "kind": "file",
16 "mode": "0644",
17 "mtime": 1778707219,
18 "path": "alpha.p"
19 },
20 {
21 "content": "\n",
22 "kind": "file",
23 "mode": "0644",
24 "mtime": 1778707215,
25 "path": "alpha.q"
26 },
27 {
28 "content": "\n",
29 "kind": "file",
30 "mode": "0644",
31 "mtime": 1778707209,
32 "path": "alpha.x"
33 },
34 {
35 "content": "\n",
36 "kind": "file",
37 "mode": "0644",
38 "mtime": 1778707209,
39 "path": "alpha.y"
40 },
41 {
42 "content": "\n",
43 "kind": "file",
44 "mode": "0644",
45 "mtime": 1778707211,
46 "path": "beta.p"
47 },
48 {
49 "content": "\n",
50 "kind": "file",
51 "mode": "0644",
52 "mtime": 1778707217,
53 "path": "beta.q"
54 },
55 {
56 "content": "\n",
57 "kind": "file",
58 "mode": "0644",
59 "mtime": 1778707213,
60 "path": "beta.x"
61 },
62 {
63 "content": "\n",
64 "kind": "file",
65 "mode": "0644",
66 "mtime": 1778707213,
67 "path": "beta.y"
68 },
69 {
70 "content": "\n",
71 "kind": "file",
72 "mode": "0644",
73 "mtime": 1778707219,
74 "path": "c"
75 },
76 {
77 "content": "\n",
78 "kind": "file",
79 "mode": "0644",
80 "mtime": 1778707219,
81 "path": "final"
82 },
83 {
84 "content": "\n",
85 "kind": "file",
86 "mode": "0644",
87 "mtime": 1778707219,
88 "path": "intermediate"
89 },
90 {
91 "content": "\n",
92 "kind": "file",
93 "mode": "0644",
94 "mtime": 1778707219,
95 "path": "orig"
96 }
97 ],
98 "source_script": "options/dash-n",
99 "stdin": "",
100 "suite": "gnu",
101 "timeout_seconds": 60
102}