aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2000-11-14 10:28:25 +0000
committerDaniel Stenberg <daniel@haxx.se>2000-11-14 10:28:25 +0000
commit0c19d2518c525bfc9f93611bcf3a311fe25a16b7 (patch)
treed4317626b8f903ca342b34c39adf9c4331b1b179 /tests
parente64b8a8f86f4648ef5c0c616f12e856da5e431aa (diff)
added help text on -h
Diffstat (limited to 'tests')
-rwxr-xr-xtests/runtests.pl13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl
index e5e3a1ba3..be37618bf 100755
--- a/tests/runtests.pl
+++ b/tests/runtests.pl
@@ -1,4 +1,5 @@
#!/usr/bin/perl
+# $Id$
#
# Main curl test script, in perl to run on more platforms
#
@@ -343,6 +344,18 @@ do {
# short output
$short=1;
}
+ elsif($ARGV[0] eq "-h") {
+ # show help text
+ print <<EOHELP
+Usage: runtests.pl [-h][-s][-v][numbers]
+ -h this help text
+ -s short output
+ -v verbose output
+ [num] as string like "5 6 9" to run those tests only
+EOHELP
+ ;
+ exit;
+ }
elsif($ARGV[0] =~ /^(\d+)/) {
$TESTCASES=$ARGV[0]; # run these tests
}