From 68567498a589fa8226ccb4da61cde4cff39cfe49 Mon Sep 17 00:00:00 2001 From: Nils Werner Date: Mon, 5 Dec 2016 10:43:09 +0100 Subject: [PATCH] Runonce batch script --- appveyor.yml | 1 + tests/runonce.bat | 25 +++++++++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 tests/runonce.bat diff --git a/appveyor.yml b/appveyor.yml index 8dbd455..bd80507 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -88,3 +88,4 @@ build_script: test_script: - "py.test" + - "tests\\runonce.bat" diff --git a/tests/runonce.bat b/tests/runonce.bat new file mode 100644 index 0000000..d75fc7e --- /dev/null +++ b/tests/runonce.bat @@ -0,0 +1,25 @@ +START "" zput -vv -q -t 10 LICENSE +zget -vv -q -t 10 LICENSE /dev/null + +START "" zput -vv -q -t 10 -a 127.0.0.1 LICENSE +zget -vv -q -t 10 LICENSE /dev/null + +START "" zput -vv -q -t 10 -p 8808 LICENSE +zget -vv -q -t 10 LICENSE /dev/null + +START "" zput -q -t 10 LICENSE +zget -q -t 10 LICENSE /dev/null + +START "" zput -t 10 LICENSE +zget -t 10 LICENSE /dev/null + +START "" zput -vv -q -t 10 "tests/filename with spaces" +zget -vv -q -t 10 "filename with spaces" /dev/null + +# Transfer alias, requesting file +START "" zput -vv -q -t 10 LICENSE asd +zget -vv -q -t 10 LICENSE /dev/null + +# Transfer alias, requesting alias +START "" zput -vv -q -t 10 LICENSE asd +zget -vv -q -t 10 asd /dev/null