xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame^] | 1 | <testcase> |
2 | <info> | ||||
3 | <keywords> | ||||
4 | SCP | ||||
5 | </keywords> | ||||
6 | </info> | ||||
7 | |||||
8 | # | ||||
9 | # Client-side | ||||
10 | <client> | ||||
11 | <server> | ||||
12 | scp | ||||
13 | </server> | ||||
14 | <name> | ||||
15 | SCP retrieval of two files | ||||
16 | </name> | ||||
17 | <command> | ||||
18 | --key curl_client_key --pubkey curl_client_key.pub -u %USER: scp://%HOSTIP:%SSHPORT%SSH_PWD/log/file%TESTNUMBER.txt scp://%HOSTIP:%SSHPORT%SSH_PWD/log/file%TESTNUMBER.txt --insecure | ||||
19 | </command> | ||||
20 | <file name="log/file%TESTNUMBER.txt"> | ||||
21 | Test data | ||||
22 | for ssh test | ||||
23 | </file> | ||||
24 | </client> | ||||
25 | |||||
26 | # | ||||
27 | # Verify data after the test has been "shot" | ||||
28 | <verify> | ||||
29 | <valgrind> | ||||
30 | disable | ||||
31 | </valgrind> | ||||
32 | <stdout> | ||||
33 | Test data | ||||
34 | for ssh test | ||||
35 | Test data | ||||
36 | for ssh test | ||||
37 | </stdout> | ||||
38 | </verify> | ||||
39 | </testcase> |