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/test1027 | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 tests/data/test1027 (limited to 'tests/data/test1027') diff --git a/tests/data/test1027 b/tests/data/test1027 new file mode 100644 index 000000000..4299d7435 --- /dev/null +++ b/tests/data/test1027 @@ -0,0 +1,39 @@ + + + +--help + + + +# +# Server-side + + + +# +# Client-side + + +none + + +curl --help + + +--help + +# Search for these two sentinel lines in the help output; if they are found, +# then chances are good the entire help is there. + +perl -e 'open(IN,$ARGV[0]); my $lines=grep(/(Usage: curl )|(--version\s*Show version)/, ); exit ($lines != 2);' log/stdout1027 + + + +# +# Verify data after the test has been "shot" + + +2 + + + -- cgit v1.2.3