]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
test971: show test mismatches "inline"
authorDaniel Stenberg <daniel@haxx.se>
Wed, 2 Sep 2020 07:25:50 +0000 (09:25 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 2 Sep 2020 07:27:51 +0000 (09:27 +0200)
tests/data/test971
tests/options-scan.pl

index de134e8e66568deeac07321ebfad1e97de288153..dada920018f0939e59c7caef2cfb362484f8ecfa 100644 (file)
@@ -22,4 +22,9 @@ Verify that options-in-versions and docs/cmdline-opts are in sync
 </command>
 </client>
 
+<verify>
+<stderr>
+ok
+</stderr>
+</verify>
 </testcase>
index d49352b40539b3e22c183509f9041ef3fcd9527e..22cf454c67386389c597a98369023a7045140d9c 100644 (file)
@@ -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;