test612 766 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <testcase>
  2. <info>
  3. <keywords>
  4. SFTP
  5. post-quote
  6. </keywords>
  7. </info>
  8. #
  9. # Server-side
  10. <reply>
  11. <data nocheck="yes">
  12. Dummy test file for remove test
  13. </data>
  14. </reply>
  15. #
  16. # Client-side
  17. <client>
  18. <server>
  19. sftp
  20. </server>
  21. <name>
  22. SFTP post-quote remove file
  23. </name>
  24. <command>
  25. --key curl_client_key --pubkey curl_client_key.pub -u %USER: -T log/file612.txt -Q "-rm %PWD/log/file612.txt" sftp://%HOSTIP:%SSHPORT%PWD/log/upload.612 --insecure
  26. </command>
  27. <postcheck>
  28. perl %SRCDIR/libtest/test610.pl gone %PWD/log/test612.txt
  29. </postcheck>
  30. <file name="log/file612.txt">
  31. Dummy test file for remove test
  32. </file>
  33. </client>
  34. #
  35. # Verify data after the test has been "shot"
  36. <verify>
  37. <upload>
  38. Dummy test file for remove test
  39. </upload>
  40. <valgrind>
  41. disable
  42. </valgrind>
  43. </verify>
  44. </testcase>