diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/data/test971 | 5 | ||||
-rw-r--r-- | tests/options-scan.pl | 4 |
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; |