|
- [
- {
- "title": "gen ident",
- "cmd": [ "genident", "name=A Test User" ],
- "exit": 0
- },
- {
- "title": "add tag a",
- "cmd": [ "modify", "+tag=foo", "+dc:creator=John-Mark Gurney", "newfile.txt" ]
- },
- {
- "title": "add tag b",
- "cmd": [ "modify", "+tag=bar", "+dc:creator=John-Mark Gurney", "+other=baz", "test.txt" ]
- },
- {
- "special": "verify store object cnt",
- "comment": "should have two file and two metadata",
- "count": 4
- },
- {
- "title": "search tag foo",
- "cmd": [ "search", "file", "+tag=foo" ],
- "stdout_re": "/newfile.txt\n$"
- },
- {
- "title": "search tag bar",
- "cmd": [ "search", "file", "+tag=bar" ],
- "stdout_re": "/test.txt\n$"
- },
- {
- "title": "search no tag bar",
- "cmd": [ "search", "file", "-tag=bar" ],
- "stdout_re": "/newfile.txt\n$"
- },
- {
- "title": "search no other",
- "cmd": [ "search", "file", "-other" ],
- "stdout_re": "/newfile.txt\n$"
- },
- {
- "title": "search other",
- "cmd": [ "search", "file", "+other" ],
- "stdout_re": "/test.txt\n$"
- }
- ]
|