/
githubmirror
/
curl
Обзор
Документация
Войти
/
githubmirror
/
curl
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
tests/data/test612
39 строк
815 B
Viktor Szakats
tests/data: add XML prolog to test files
12 дек 2025, 19:17
Не верифицирован
12 дек 2025, 19:17
b5ea073
Код
Авторство
О чём код?
<?xml version="1.0" encoding="US-ASCII"?> <testcase> <info> <keywords> SFTP post-quote </keywords> </info> # Server-side <reply> <data nocheck="yes"> Dummy test file for remove test </data> </reply> # Client-side <client> <server> sftp </server> <name> SFTP post-quote remove file </name> <command> --key %LOGDIR/server/curl_client_key --pubkey %LOGDIR/server/curl_client_key.pub -u %USER: -T %LOGDIR/file%TESTNUMBER.txt -Q "-rm %SFTP_PWD/%LOGDIR/upload.%TESTNUMBER" sftp://%HOSTIP:%SSHPORT%SFTP_PWD/%LOGDIR/upload.%TESTNUMBER --insecure </command> <file name="%LOGDIR/file%TESTNUMBER.txt"> Dummy test file for remove test </file> </client> # Verify data after the test has been "shot" <verify> <postcheck> %PERL %SRCDIR/libtest/test610.pl gone %PWD/%LOGDIR/upload.%TESTNUMBER </postcheck> </verify> </testcase>