test665 571 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <testcase>
  2. <info>
  3. <keywords>
  4. SCP
  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. scp
  20. </server>
  21. <name>
  22. SCP correct host key
  23. </name>
  24. <command>
  25. --hostpubmd5 %SSHSRVMD5 --key curl_client_key --pubkey curl_client_key.pub -u %USER: scp://%HOSTIP:%SSHPORT%SSH_PWD/log/file%TESTNUMBER.txt
  26. </command>
  27. <file name="log/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>