summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-07-03 17:02:33 +0200
committerDaniel Stenberg <daniel@haxx.se>2020-07-14 18:31:37 +0200
commitc13c67e1279e8ffb10799056026ce88c6a8a75e1 (patch)
tree70dd075b04ab2643538a4a56e6e28ac67802871c /tests
parent839e9f342b0f85f99f3033dc91a31843ea835f30 (diff)
downloadcurl-c13c67e1279e8ffb10799056026ce88c6a8a75e1.tar.gz
test1139: make it display the difference on test failuresbagder/test1119
Diffstat (limited to 'tests')
-rw-r--r--tests/data/test113910
-rwxr-xr-xtests/manpage-scan.pl2
2 files changed, 9 insertions, 3 deletions
diff --git a/tests/data/test1139 b/tests/data/test1139
index 72761c670..b5267b012 100644
--- a/tests/data/test1139
+++ b/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>
diff --git a/tests/manpage-scan.pl b/tests/manpage-scan.pl
index 10d2d15a1..41dfdec9c 100755
--- a/tests/manpage-scan.pl
+++ b/tests/manpage-scan.pl
@@ -288,4 +288,4 @@ foreach my $o (keys %opts) {
}
}
-exit $errors;
+print STDERR "$errors\n";