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@…>, 5 years ago

ensure that we get some error messages

  • Property mode set to 100644
File size: 755 bytes
  • test/runtests

    From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
    Date: Thu, 17 Sep 2015 05:39:56 -0400
    Subject: let a failed diff be verbose
    
    there is no reason to pass -q to diff when comparing output: if diff
    succeeds, it will be quiet.  If it fails, the test fails, and so we
    want it in our stderr!
    ---
     test/runtests | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/test/runtests b/test/runtests
    index bf172ec..1957168 100755
    a b for t in $tests; do 
    207207    unset sleep_pidfile
    208208
    209209    if [ -e ${t}/output ] ; then
    210         diff_output_filter_headers "${t}/output" "$output" "-q"
     210        diff_output_filter_headers "${t}/output" "$output" >&2
    211211    fi
    212212    if [ -n "${USE_MSVA}" ]; then
    213213        trap stop_msva EXIT
Note: See TracBrowser for help on using the repository browser.