diff options
Diffstat (limited to 'tests/data/test1268')
-rw-r--r-- | tests/data/test1268 | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/tests/data/test1268 b/tests/data/test1268 new file mode 100644 index 000000000..f3e52fba4 --- /dev/null +++ b/tests/data/test1268 @@ -0,0 +1,38 @@ +<testcase> +<info> +<keywords> +warning +</keywords> +</info> + +# +# Server-side +<reply> +</reply> + +# +# Client-side +<client> +<server> +none +</server> + <name> +file name argument looks like a flag + </name> + <command> +--stderr log/moo1268 --unix-socket -k hej://moo +</command> +</client> + +<verify> +<file name="log/moo1268"> +Warning: The file name argument '-k' looks like a flag. +curl: (1) Protocol "hej" not supported or disabled in libcurl +</file> + +# we expect an error since we provide a weird URL +<errorcode> +1 +</errorcode> +</verify> +</testcase> |