diff options
Diffstat (limited to 'tests/data/test1026')
-rw-r--r-- | tests/data/test1026 | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/tests/data/test1026 b/tests/data/test1026 new file mode 100644 index 000000000..7ebb02bcc --- /dev/null +++ b/tests/data/test1026 @@ -0,0 +1,39 @@ +<testcase> +<info> +<keywords> +--manual +</keywords> +</info> + +# +# Server-side +<reply> +</reply> + +# +# Client-side +<client> +<server> +none +</server> + <name> +curl --manual + </name> + <command> +--manual +</command> +# Search for these two sentinel lines in the manual output; if they are found, +# then chances are good the entire manual is there. +<postcheck> +perl -e 'open(IN,$ARGV[0]); my $lines=grep(/(curl\s*is\s*a\s*tool)|(mailing\s*lists\s*to\s*discuss\s*curl)/, <IN>); exit ($lines != 2);' log/stdout1026 +</postcheck> +</client> + +# +# Verify data after the test has been "shot" +<verify> +<errorcode> +2 +</errorcode> +</verify> +</testcase> |