diff options
author | Daniel Stenberg <daniel@haxx.se> | 2014-10-09 16:50:26 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2014-10-09 16:50:26 +0200 |
commit | bf7023d16502c83b173138a15593332d4e949d34 (patch) | |
tree | af8866ab817f85b4d2fc820c419604dade4487e4 /tests/data | |
parent | b546c7c926c8d713719a4ffd469a25cfda1c918e (diff) |
test2036: verify -O with no slash at all in the URL
Similar to test 76 but that test's URL has a slash just no file name
part.
Diffstat (limited to 'tests/data')
-rw-r--r-- | tests/data/Makefile.am | 2 | ||||
-rw-r--r-- | tests/data/test2036 | 39 |
2 files changed, 40 insertions, 1 deletions
diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am index 662ab8c69..418daffa4 100644 --- a/tests/data/Makefile.am +++ b/tests/data/Makefile.am @@ -138,7 +138,7 @@ test2000 test2001 test2002 test2003 test2004 test2005 test2006 test2007 \ test2008 test2009 test2010 test2011 test2012 test2013 test2014 test2015 \ test2016 test2017 test2018 test2019 test2020 test2021 test2022 test2023 \ test2024 test2025 test2026 test2027 test2028 test2029 test2030 test2031 \ -test2032 test2033 test2034 test2035 +test2032 test2033 test2034 test2035 test2036 EXTRA_DIST = $(TESTCASES) DISABLED diff --git a/tests/data/test2036 b/tests/data/test2036 new file mode 100644 index 000000000..0ab8b66c5 --- /dev/null +++ b/tests/data/test2036 @@ -0,0 +1,39 @@ +<testcase> +<info> +<keywords> +FAILURE +</keywords> +</info> +# +# Server-side +<reply> +</reply> + +# +# Client-side +<client> +<server> +none +</server> +<features> +http +</features> + <name> +HTTP, -O with no slash at all in the URL + </name> + <command option="no-output"> +%HOSTIP:%HTTPPORT -O +</command> +</client> + +# +# Verify data after the test has been "shot" +<verify> +<strip> +^User-Agent:.* +</strip> +<errorcode> +23 +</errorcode> +</verify> +</testcase> |