source: mod_gnutls/debian/patches/0001-let-a-failed-diff-be-verbose.patch @ 2dc2597

debian/masterdebian/stretch-backportsjessie-backports
Last change on this file since 2dc2597 was 2dc2597, checked in by Daniel Kahn Gillmor <dkg@…>, 6 years ago

ensure that we get some error messages

  • Property mode set to 100644
File size: 755 bytes
RevLine 
[2dc2597]1From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
2Date: Thu, 17 Sep 2015 05:39:56 -0400
3Subject: let a failed diff be verbose
4
5there is no reason to pass -q to diff when comparing output: if diff
6succeeds, it will be quiet.  If it fails, the test fails, and so we
7want it in our stderr!
8---
9 test/runtests | 2 +-
10 1 file changed, 1 insertion(+), 1 deletion(-)
11
12diff --git a/test/runtests b/test/runtests
13index bf172ec..1957168 100755
14--- a/test/runtests
15+++ b/test/runtests
16@@ -207,7 +207,7 @@ for t in $tests; do
17     unset sleep_pidfile
18 
19     if [ -e ${t}/output ] ; then
20-       diff_output_filter_headers "${t}/output" "$output" "-q"
21+       diff_output_filter_headers "${t}/output" "$output" >&2
22     fi
23     if [ -n "${USE_MSVA}" ]; then
24        trap stop_msva EXIT
Note: See TracBrowser for help on using the repository browser.