From e22682b9081952e4942db6f9f71419a5edbe6668 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 2 Sep 2020 09:25:50 +0200 Subject: [PATCH] test971: show test mismatches "inline" --- tests/data/test971 | 5 +++++ tests/options-scan.pl | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/tests/data/test971 b/tests/data/test971 index de134e8e6..dada92001 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 d49352b40..22cf454c6 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;