From e3aa2a07f91e30ef538281d4bd1f1d2195c04f02 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Tue, 12 Nov 2024 22:01:54 -0800 Subject: [PATCH] tests: use the standard format of an IGNORED line 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 | 4 ++-- tests/runtests.pl | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/runner.pm b/tests/runner.pm index 3372eda8b7..1ee773eb8e 100644 --- a/tests/runner.pm +++ b/tests/runner.pm @@ -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); } } diff --git a/tests/runtests.pl b/tests/runtests.pl index 4d4785b50b..01307f8d12 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -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 -- 2.47.3