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.
 
 
 
 

39 lines
1.5 KiB

  1. [
  2. {
  3. "title": "gen ident",
  4. "cmd": [ "genident", "name=A Test User" ],
  5. "exit": 0
  6. },
  7. {
  8. "special": "setup bittorrent files"
  9. },
  10. {
  11. "title": "add metadata before import",
  12. "cmd": [ "modify", "+foo=bar", "somedir/fileb.txt" ]
  13. },
  14. {
  15. "title": "import partial container",
  16. "cmd": [ "container", "somedir.torrent" ],
  17. "stderr": "Warning, incomple/invalid files, not added:\n\t'filea.txt'\n\t'filec.txt'\n\t'filee.txt'\n"
  18. },
  19. {
  20. "special": "verify store object cnt",
  21. "comment": "should only have one container and three files, and a metadata",
  22. "count": 5
  23. },
  24. {
  25. "title": "verify correct files imported",
  26. "cmd": [ "dump" ],
  27. "stdout_re": "fileb.txt.*file.*\n.*foo.*bar.*cc06808cbbee0510331aa97974132e8dc296aeb795be229d064bae784b0a87a5cf4281d82e8c99271b75db2148f08a026c1a60ed9cabdb8cac6d24242dac4063.*\n.*filed.txt.*file.*\n.*filef.txt.*file.*\n.*fileb.txt.*filed.txt.*filef.txt.*cc06808cbbee0510331aa97974132e8dc296aeb795be229d064bae784b0a87a5cf4281d82e8c99271b75db2148f08a026c1.*7831bd05e23877e08a97362bab2ad7bcc7d08d8f841f42e8dee545781792b987aa7637f12cec399e261f798c10d3475add0db7de2643af86a346b6b451a69ec4.*be688838ca8686e5c90689bf2ab585cef1137c.*container.*magnet:\\?xt=urn:btih:501cf3bd4797f49fd7a624e8a9a8ce5cccceb602&dn=somedir"
  28. },
  29. {
  30. "title": "add metadata after import",
  31. "cmd": [ "modify", "+foo=bar", "somedir/filed.txt" ]
  32. },
  33. {
  34. "special": "verify store object cnt",
  35. "comment": "should only have one container and three files, and a metadata",
  36. "count": 6
  37. }
  38. ]