]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
tests: use the standard format of an IGNORED line
authorDan Fandrich <dan@coneharvesters.com>
Wed, 13 Nov 2024 06:01:54 +0000 (22:01 -0800)
committerDan Fandrich <dan@coneharvesters.com>
Wed, 13 Nov 2024 06:23:57 +0000 (22:23 -0800)
This is more consistent and allows Test Clutch to parse it properly.
Also, add --test-duphandle and --test-event to the runtests.pl help
text.

tests/runner.pm
tests/runtests.pl

index 3372eda8b71817c599e6f23d217e191794fea0fc..1ee773eb8e364c58d37d221095ca3f5a292c7235 100644 (file)
@@ -779,7 +779,7 @@ sub singletest_prepare {
         my $filename=$fileattr{'name'};
         if(@inputfile || $filename) {
             if(!$filename) {
-                logmsg " $testnum: IGNORED: section client=>file has no name attribute\n";
+                logmsg " $testnum: IGNORED: Section client=>file has no name attribute\n";
                 return -1;
             }
             my $fileContent = join('', @inputfile);
@@ -901,7 +901,7 @@ sub singletest_run {
                 chomp $dis[0] if($dis[0]);
                 if($dis[0] eq "test-duphandle") {
                     # marked to not run with duphandle
-                    logmsg "test $testnum: IGNORED: can't run test-duphandle\n";
+                    logmsg " $testnum: IGNORED: Can't run test-duphandle\n";
                     return (-1, 0, 0, "", "", 0);
                 }
             }
index 4d4785b50b69f815931da6ed899e3acbb6ee0abe..01307f8d122c8854c038d61c488bf2a79d50581a 100755 (executable)
@@ -2451,7 +2451,8 @@ Usage: runtests.pl [options] [test selection(s)]
   -bundle  use test bundles
   -c path  use this curl executable
   -d       display server debug info
-  -e       event-based execution
+  -e, --test-event  event-based execution
+  --test-duphandle  duplicate handles before use
   -E file  load the specified file to exclude certain tests
   -f       forcibly run even if disabled
   -g       run the test case with gdb