MetaData Sharing
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

46 lines
949 B

  1. [
  2. {
  3. "title": "gen ident",
  4. "cmd": [ "genident", "name=A Test User" ],
  5. "exit": 0
  6. },
  7. {
  8. "title": "add tag a",
  9. "cmd": [ "modify", "+tag=foo", "+dc:creator=John-Mark Gurney", "newfile.txt" ]
  10. },
  11. {
  12. "title": "add tag b",
  13. "cmd": [ "modify", "+tag=bar", "+dc:creator=John-Mark Gurney", "+other=baz", "test.txt" ]
  14. },
  15. {
  16. "special": "verify store object cnt",
  17. "comment": "should have two file and two metadata",
  18. "count": 4
  19. },
  20. {
  21. "title": "search tag foo",
  22. "cmd": [ "search", "file", "+tag=foo" ],
  23. "stdout_re": "/newfile.txt\n$"
  24. },
  25. {
  26. "title": "search tag bar",
  27. "cmd": [ "search", "file", "+tag=bar" ],
  28. "stdout_re": "/test.txt\n$"
  29. },
  30. {
  31. "title": "search no tag bar",
  32. "cmd": [ "search", "file", "-tag=bar" ],
  33. "stdout_re": "/newfile.txt\n$"
  34. },
  35. {
  36. "title": "search no other",
  37. "cmd": [ "search", "file", "-other" ],
  38. "stdout_re": "/newfile.txt\n$"
  39. },
  40. {
  41. "title": "search other",
  42. "cmd": [ "search", "file", "+other" ],
  43. "stdout_re": "/test.txt\n$"
  44. }
  45. ]