summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-09-02 09:25:50 +0200
committerDaniel Stenberg <daniel@haxx.se>2020-09-02 09:27:51 +0200
commite22682b9081952e4942db6f9f71419a5edbe6668 (patch)
tree2179a78a9dbc3375d4cb19d6b39ce1af503aec29
parent64586af9262c415999423ad4b40945bc4788fb93 (diff)
downloadcurl-e22682b9081952e4942db6f9f71419a5edbe6668.tar.gz
test971: show test mismatches "inline"
-rw-r--r--tests/data/test9715
-rw-r--r--tests/options-scan.pl4
2 files changed, 8 insertions, 1 deletions
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
</command>
</client>
+<verify>
+<stderr>
+ok
+</stderr>
+</verify>
</testcase>
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;