test1459 919 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <testcase>
  2. <info>
  3. <keywords>
  4. SFTP
  5. known_hosts
  6. </keywords>
  7. </info>
  8. #
  9. # Client-side
  10. <client>
  11. <server>
  12. sftp
  13. </server>
  14. <precheck>
  15. mkdir -p %PWD/%LOGDIR/test%TESTNUMBER.dir/.ssh
  16. </precheck>
  17. <features>
  18. sftp
  19. !oldlibssh
  20. </features>
  21. <name>
  22. SFTP with corrupted known_hosts
  23. </name>
  24. <command>
  25. -u : sftp://%HOSTIP:%SSHPORT/ -l
  26. </command>
  27. <file name="%LOGDIR/test%TESTNUMBER.dir/.ssh/known_hosts">
  28. |1|qy29Y1x/+/F39AzdG5515YSSw+c=|iB2WX5jrU3ZTWc+ZfGau7HHEvBc= ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEAynDN8cDJ3xNzRjTNNGciSHSxpubxhZ6YnkLdp1TkrGW8n\
  29. R93Ey5VtBeBblYTRlFXBWJgKFcTKBRJ/O4qBZwbUgt10AHj31i6h8NehfT19tR8wG/YCmj3KtYLHmwdzmW1edEL9G2NdX2KiKYv7/zuly3QvmP0QA0NhWkAz0KdWNM=
  30. </file>
  31. <setenv>
  32. CURL_HOME=%PWD/%LOGDIR/test%TESTNUMBER.dir
  33. </setenv>
  34. </client>
  35. # Verify data after the test has been "shot"
  36. <verify>
  37. # old libssh installs return the wrong thing
  38. <errorcode>
  39. 60
  40. </errorcode>
  41. <valgrind>
  42. disable
  43. </valgrind>
  44. </verify>
  45. </testcase>