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