1{
2 "case": "t007",
3 "category": "functions/wildcard",
4 "compare_output": true,
5 "description": "The following test creates a makefile to test wildcard\nexpansions and the ability to put a command on the same\nline as the target name separated by a semi-colon.",
6 "details": "\nThis test creates 4 files by the names of 1.example,\ntwo.example and 3.example. We execute three tests. The first\nexecutes the print1 target which tests the '*' wildcard by\nechoing all filenames by the name of '*.example'. The second\ntest echo's all files which match '?.example' and\n[a-z0-9].example. Lastly we clean up all of the files using\nthe '*' wildcard as in the first test",
7 "env": {},
8 "expected_exit": 0,
9 "options": "",
10 "options_mode": "argv",
11 "output_mode": "exact",
12 "setup": [
13 {
14 "content": "\n",
15 "kind": "file",
16 "mode": "0644",
17 "mtime": 1778707215,
18 "path": "example.1"
19 },
20 {
21 "content": "\n",
22 "kind": "file",
23 "mode": "0644",
24 "mtime": 1778707215,
25 "path": "example.3"
26 },
27 {
28 "content": "\n",
29 "kind": "file",
30 "mode": "0644",
31 "mtime": 1778707215,
32 "path": "example._"
33 },
34 {
35 "content": "\n",
36 "kind": "file",
37 "mode": "0644",
38 "mtime": 1778707215,
39 "path": "example.for"
40 },
41 {
42 "content": "\n",
43 "kind": "file",
44 "mode": "0644",
45 "mtime": 1778707215,
46 "path": "example.two"
47 },
48 {
49 "kind": "dir",
50 "mode": "0750",
51 "mtime": 1778707215,
52 "path": "hellod"
53 },
54 {
55 "kind": "dir",
56 "mode": "0750",
57 "mtime": 1778707215,
58 "path": "hellod/worldd"
59 },
60 {
61 "kind": "dir",
62 "mode": "0750",
63 "mtime": 1778707215,
64 "path": "hellod/worldd/kend1"
65 },
66 {
67 "kind": "dir",
68 "mode": "0750",
69 "mtime": 1778707215,
70 "path": "hellod/worldd/kend2"
71 },
72 {
73 "content": "\n",
74 "kind": "file",
75 "mode": "0644",
76 "mtime": 1778707215,
77 "path": "hellod/worldd/kenf1"
78 },
79 {
80 "content": "\n",
81 "kind": "file",
82 "mode": "0644",
83 "mtime": 1778707215,
84 "path": "hellod/worldd/kenf2"
85 },
86 {
87 "content": "\n",
88 "kind": "file",
89 "mode": "0644",
90 "mtime": 1778707215,
91 "path": "hellod/worldf"
92 },
93 {
94 "content": "\n",
95 "kind": "file",
96 "mode": "0644",
97 "mtime": 1778707215,
98 "path": "hellof"
99 }
100 ],
101 "source_script": "functions/wildcard",
102 "stdin": "",
103 "suite": "gnu",
104 "timeout_seconds": 60
105}