2
0

test622 589 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <testcase>
  2. <info>
  3. <keywords>
  4. SFTP
  5. SFTP put
  6. FAILURE
  7. </keywords>
  8. </info>
  9. #
  10. # Server-side
  11. <reply>
  12. </reply>
  13. #
  14. # Client-side
  15. <client>
  16. <server>
  17. sftp
  18. </server>
  19. <name>
  20. SFTP put failure
  21. </name>
  22. <command>
  23. --key curl_client_key --pubkey curl_client_key.pub -u %USER: -T log/file622.txt sftp://%HOSTIP:%SSHPORT%PWD/log/nonexistent-directory/nonexistent-file --insecure
  24. </command>
  25. <file name="log/file622.txt">
  26. Test data
  27. for ssh upload test
  28. </file>
  29. </client>
  30. #
  31. # Verify data after the test has been "shot"
  32. <verify>
  33. <errorcode>
  34. 78
  35. </errorcode>
  36. <valgrind>
  37. disable
  38. </valgrind>
  39. </verify>
  40. </testcase>