test664 610 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <testcase>
  2. <info>
  3. <keywords>
  4. SFTP
  5. server key check
  6. </keywords>
  7. </info>
  8. #
  9. # Server-side
  10. <reply>
  11. <data>
  12. test
  13. </data>
  14. </reply>
  15. #
  16. # Client-side
  17. <client>
  18. <server>
  19. sftp
  20. </server>
  21. <name>
  22. SFTP correct host key
  23. </name>
  24. <command>
  25. --hostpubmd5 %SSHSRVMD5 --key %LOGDIR/server/curl_client_key --pubkey %LOGDIR/server/curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%SSH_PWD/%LOGDIR/file%TESTNUMBER.txt
  26. </command>
  27. <file name="%LOGDIR/file%TESTNUMBER.txt">
  28. test
  29. </file>
  30. </client>
  31. #
  32. # Verify data after the test has been "shot"
  33. <verify>
  34. <errorcode>
  35. 0
  36. </errorcode>
  37. <valgrind>
  38. disable
  39. </valgrind>
  40. </verify>
  41. </testcase>