test602 633 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <testcase>
  2. <info>
  3. <keywords>
  4. SFTP
  5. SFTP put
  6. </keywords>
  7. </info>
  8. #
  9. # Server-side
  10. <reply>
  11. </reply>
  12. #
  13. # Client-side
  14. <client>
  15. <server>
  16. sftp
  17. </server>
  18. <name>
  19. SFTP put
  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/upload.%TESTNUMBER --insecure
  23. </command>
  24. <file name="%LOGDIR/file%TESTNUMBER.txt">
  25. Test data
  26. for ssh upload test
  27. </file>
  28. </client>
  29. #
  30. # Verify data after the test has been "shot"
  31. <verify>
  32. <upload>
  33. Test data
  34. for ssh upload test
  35. </upload>
  36. <valgrind>
  37. disable
  38. </valgrind>
  39. </verify>
  40. </testcase>