test631 502 B

12345678910111213141516171819202122232425262728293031323334
  1. <testcase>
  2. <info>
  3. <keywords>
  4. SCP
  5. FAILURE
  6. server key check
  7. </keywords>
  8. </info>
  9. #
  10. # Client-side
  11. <client>
  12. <server>
  13. scp
  14. </server>
  15. <name>
  16. SCP incorrect host key
  17. </name>
  18. <command>
  19. --hostpubmd5 00000000000000000000000000000000 --key curl_client_key --pubkey curl_client_key.pub -u %USER: scp://%HOSTIP:%SSHPORT%PWD/log/irrelevant-file --insecure
  20. </command>
  21. </client>
  22. #
  23. # Verify data after the test has been "shot"
  24. <verify>
  25. <errorcode>
  26. 51
  27. </errorcode>
  28. <valgrind>
  29. disable
  30. </valgrind>
  31. </verify>
  32. </testcase>