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.
 
 
 
 

32 lines
683 B

  1. [
  2. {
  3. "title": "gen ident",
  4. "cmd": [ "genident", "name=A Test User" ],
  5. "exit": 0
  6. },
  7. {
  8. "title": "Test auto detection of file",
  9. "cmd": [ "auto", "test.txt" ],
  10. "stdin": "y\n",
  11. "stdout": "Set:\n\tmimetype:\ttext/plain; charset=us-ascii\n\nApply (y/N)?\n"
  12. },
  13. {
  14. "title": "Verify modification",
  15. "cmd": [ "list", "test.txt" ],
  16. "stdin": "y\n",
  17. "stdout_re": "mimetype:\ttext/plain; charset=us-ascii"
  18. },
  19. {
  20. "title": "Test auto detection of jpeg file",
  21. "cmd": [ "auto", "z.jpg" ],
  22. "stdin": "y\n",
  23. "stdout": "Set:\n\tmimetype:\timage/jpeg\n\nApply (y/N)?\n"
  24. },
  25. {
  26. "title": "Verify modification",
  27. "cmd": [ "list", "z.jpg" ],
  28. "stdin": "y\n",
  29. "stdout_re": "mimetype:\timage/jpeg"
  30. }
  31. ]