test615 810 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/%LOGDIR/test%TESTNUMBER.dir
  17. </precheck>
  18. <name>
  19. SFTP put remote failure
  20. </name>
  21. <command>
  22. --key %LOGDIR/server/curl_client_key --pubkey %LOGDIR/server/curl_client_key.pub -u %USER: -T %LOGDIR/file%TESTNUMBER.txt sftp://%HOSTIP:%SSHPORT%SSH_PWD/%LOGDIR/test%TESTNUMBER.dir/rofile.txt --insecure
  23. </command>
  24. <postcheck>
  25. perl %SRCDIR/libtest/test613.pl postprocess %PWD/%LOGDIR/test%TESTNUMBER.dir
  26. </postcheck>
  27. <file name="%LOGDIR/file%TESTNUMBER.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>