main shinobi / tests / mk / gnu / functions / wildcard / t009 / test.json
 1{
 2  "case": "t009",
 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      "kind": "symlink",
15      "mode": "0777",
16      "mtime": 1778707215,
17      "path": "__ldir",
18      "target": "__rdir"
19    },
20    {
21      "kind": "dir",
22      "mode": "0755",
23      "mtime": 1778707215,
24      "path": "__rdir"
25    },
26    {
27      "content": "\n",
28      "kind": "file",
29      "mode": "0644",
30      "mtime": 1778707215,
31      "path": "example.1"
32    },
33    {
34      "content": "\n",
35      "kind": "file",
36      "mode": "0644",
37      "mtime": 1778707215,
38      "path": "example.3"
39    },
40    {
41      "content": "\n",
42      "kind": "file",
43      "mode": "0644",
44      "mtime": 1778707215,
45      "path": "example._"
46    },
47    {
48      "content": "\n",
49      "kind": "file",
50      "mode": "0644",
51      "mtime": 1778707215,
52      "path": "example.for"
53    },
54    {
55      "content": "\n",
56      "kind": "file",
57      "mode": "0644",
58      "mtime": 1778707215,
59      "path": "example.two"
60    }
61  ],
62  "source_script": "functions/wildcard",
63  "stdin": "",
64  "suite": "gnu",
65  "timeout_seconds": 60
66}