From 7abf50a5c006cfd2cc8da58b7c0550b0db371d1f Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Fri, 18 Apr 2008 22:31:52 +0000 Subject: Added test cases 1026 and 1027 to do some rudimentary tests on the --manual and --help options. --- tests/data/test1026 | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 tests/data/test1026 (limited to 'tests/data/test1026') 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 @@ + + + +--manual + + + +# +# Server-side + + + +# +# Client-side + + +none + + +curl --manual + + +--manual + +# Search for these two sentinel lines in the manual output; if they are found, +# then chances are good the entire manual is there. + +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)/, ); exit ($lines != 2);' log/stdout1026 + + + +# +# Verify data after the test has been "shot" + + +2 + + + -- cgit v1.2.1