From: Daniel Stenberg Date: Wed, 2 Sep 2020 07:25:50 +0000 (+0200) Subject: test971: show test mismatches "inline" X-Git-Tag: curl-7_73_0~168 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e22682b9081952e4942db6f9f71419a5edbe6668;p=thirdparty%2Fcurl.git test971: show test mismatches "inline" --- diff --git a/tests/data/test971 b/tests/data/test971 index de134e8e66..dada920018 100644 --- a/tests/data/test971 +++ b/tests/data/test971 @@ -22,4 +22,9 @@ Verify that options-in-versions and docs/cmdline-opts are in sync + + +ok + + diff --git a/tests/options-scan.pl b/tests/options-scan.pl index d49352b405..22cf454c67 100644 --- a/tests/options-scan.pl +++ b/tests/options-scan.pl @@ -101,7 +101,7 @@ for my $c (sort @cmdopts) { versioncheck($c, $oiv{$c}); } else { - print STDERR "$c is in the directory but not in file!\n"; + print STDERR "--$c is in the option directory but not in $opts!\n"; $error++; } } @@ -117,4 +117,6 @@ for my $v (sort @veropts) { } } +print STDERR "ok\n" if(!$error); + exit $error;