From 584142892f7d5fb3100f3c0ef8e479d472b8c3c7 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Sat, 29 Apr 2017 10:16:06 +0200 Subject: tests: added --remote-time tests for remaining protocols that support it --- tests/data/test1446 | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 tests/data/test1446 (limited to 'tests/data/test1446') diff --git a/tests/data/test1446 b/tests/data/test1446 new file mode 100644 index 000000000..7d5ec9fc2 --- /dev/null +++ b/tests/data/test1446 @@ -0,0 +1,42 @@ + + + +SFTP +--remote-time + + + +# +# Server-side + + + +# +# Client-side + + +sftp + + +perl %SRCDIR/libtest/test613.pl prepare %PWD/log/test1446.dir + + +SFTP with --remote-time + + +--key curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%PWD/log/test1446.dir/rofile.txt --insecure --remote-time + + +perl %SRCDIR/libtest/test613.pl postprocess %PWD/log/test1446.dir && \ +perl -e 'exit((stat("log/curl1446.out"))[9] != 978264000)' + + + +# +# Verify data after the test has been "shot" + + +disable + + + -- cgit v1.2.1