test615 719 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <testcase>
  2. <info>
  3. <keywords>
  4. SFTP
  5. SFTP put
  6. FAILURE
  7. </keywords>
  8. </info>
  9. #
  10. # Client-side
  11. <client>
  12. <server>
  13. sftp
  14. </server>
  15. <precheck>
  16. perl %SRCDIR/libtest/test613.pl prepare %PWD/log/test615.dir
  17. </precheck>
  18. <name>
  19. SFTP put remote failure
  20. </name>
  21. <command>
  22. --key curl_client_key --pubkey curl_client_key.pub -u %USER: -T log/file615.txt sftp://%HOSTIP:%SSHPORT%PWD/log/test615.dir/rofile.txt --insecure
  23. </command>
  24. <postcheck>
  25. perl %SRCDIR/libtest/test613.pl postprocess %PWD/log/test615.dir
  26. </postcheck>
  27. <file name="log/file615.txt">
  28. Test data
  29. for ssh upload test
  30. </file>
  31. </client>
  32. #
  33. # Verify data after the test has been "shot"
  34. <verify>
  35. <errorcode>
  36. 9
  37. </errorcode>
  38. <valgrind>
  39. disable
  40. </valgrind>
  41. </verify>
  42. </testcase>