diff options
author | Emil Engler <me@emilengler.com> | 2020-07-14 10:32:22 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-09-04 15:38:22 +0200 |
commit | a86cc7e2ab96d3d2bda380c9a1a9bb3c80bb422f (patch) | |
tree | 670433d240d91d4ca3edf5a52adc336f045ce605 /tests/data/test1462 | |
parent | aa8777f63febca6a13f6b86e141a832232560037 (diff) | |
download | curl-a86cc7e2ab96d3d2bda380c9a1a9bb3c80bb422f.tar.gz |
tests: Add tests for new --help
This commit is a part of "--help me if you can"
Closes #5680
Diffstat (limited to 'tests/data/test1462')
-rw-r--r-- | tests/data/test1462 | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/tests/data/test1462 b/tests/data/test1462 new file mode 100644 index 000000000..a9e7af0a6 --- /dev/null +++ b/tests/data/test1462 @@ -0,0 +1,61 @@ +<testcase> +<info> +<keywords> +--help +</keywords> +</info> + +# +# Server-side +<reply> +</reply> + +# +# Client-side +<client> +<server> +none +</server> + <name> +curl invalid category --help + </name> + <command> +--help sdfafdsfadsfsd +</command> +</client> + +# +# Verify data after the test has been "shot" +<verify> +<errorcode> +0 +</errorcode> +<stdout mode="text"> +Usage: curl [options...] <url> +Invalid category provided, here is a list of all categories: + + auth Different types of authentication methods + connection Low level networking operations + curl The command line tool itself + dns General DNS options + file FILE protocol options + ftp FTP protocol options + http HTTP and HTTPS protocol options + imap IMAP protocol options + misc Options that don't fit into any other category + output The output of curl + pop3 POP3 protocol options + post HTTP Post specific options + proxy All options related to proxies + scp SCP protocol options + sftp SFTP protocol options + smtp SMTP protocol options + ssh SSH protocol options + telnet TELNET protocol options + tftp TFTP protocol options + tls All TLS/SSL related options + upload All options for uploads + verbose Options related to any kind of command line output of curl +</stdout> +</verify> +</testcase> |