Browse Source

test1139: make it display the difference on test failures

Daniel Stenberg 4 years ago
parent
commit
c13c67e127
2 changed files with 9 additions and 3 deletions
  1. 8 2
      tests/data/test1139
  2. 1 1
      tests/manpage-scan.pl

+ 8 - 2
tests/data/test1139

@@ -15,13 +15,19 @@ documentation
 none
 </server>
 
- <name>
+<name>
 Verify that all libcurl options have man pages
- </name>
+</name>
 
 <command type="perl">
 %SRCDIR/manpage-scan.pl %SRCDIR/.. %PWD/..
 </command>
 </client>
 
+<verify>
+<stderr>
+0
+</stderr>
+</verify>
+
 </testcase>

+ 1 - 1
tests/manpage-scan.pl

@@ -288,4 +288,4 @@ foreach my $o (keys %opts) {
     }
 }
 
-exit $errors;
+print STDERR "$errors\n";