main shinobi / tests / mk / gnu / functions / wildcard / t004 / test.json
 1{
 2  "case": "t004",
 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  "source_script": "functions/wildcard",
50  "stdin": "",
51  "suite": "gnu",
52  "timeout_seconds": 60
53}