1{
2 "case": "t008",
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": 1778707211,
95 "path": "meson.p"
96 },
97 {
98 "content": "\n",
99 "kind": "file",
100 "mode": "0644",
101 "mtime": 1778707217,
102 "path": "meson.q"
103 },
104 {
105 "content": "\n",
106 "kind": "file",
107 "mode": "0644",
108 "mtime": 1778707213,
109 "path": "meson.x"
110 },
111 {
112 "content": "\n",
113 "kind": "file",
114 "mode": "0644",
115 "mtime": 1778707213,
116 "path": "meson.y"
117 },
118 {
119 "content": "\n",
120 "kind": "file",
121 "mode": "0644",
122 "mtime": 1778707219,
123 "path": "orig"
124 },
125 {
126 "content": "\n\n",
127 "kind": "file",
128 "mode": "0644",
129 "mtime": 1778707219,
130 "path": "quark.p"
131 },
132 {
133 "content": "\n",
134 "kind": "file",
135 "mode": "0644",
136 "mtime": 1778707215,
137 "path": "quark.q"
138 },
139 {
140 "content": "\n",
141 "kind": "file",
142 "mode": "0644",
143 "mtime": 1778707209,
144 "path": "quark.x"
145 },
146 {
147 "content": "\n",
148 "kind": "file",
149 "mode": "0644",
150 "mtime": 1778707209,
151 "path": "quark.y"
152 }
153 ],
154 "source_script": "options/dash-n",
155 "stdin": "",
156 "suite": "gnu",
157 "timeout_seconds": 60
158}