From: Jim Meyering Date: Sun, 16 Aug 2009 15:06:42 +0000 (+0200) Subject: tests: don't misinterpret a failing test as successful X-Git-Tag: v1.3.13~25 X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=dbaf1a688d2546116244d0bc9115cf3deb3fe3bb;p=debian%2Fgzip tests: don't misinterpret a failing test as successful * Makefile.am (check-local): Exit "1" upon failure, not 0. --- diff --git a/Makefile.am b/Makefile.am index d5d41f7..508d2c4 100644 --- a/Makefile.am +++ b/Makefile.am @@ -90,7 +90,7 @@ check-local: $(FILES_TO_CHECK) $(bin_PROGRAMS) gzip.doc.gz ./zdiff --__bindir . -c gzip.doc.gz gzip.doc.gz ./zgrep --__bindir . -iV >/dev/null for file in $(FILES_TO_CHECK); do \ - ./gzip -cv -- "$$file" | ./gzip -d | cmp - "$$file" || exit; \ + ./gzip -cv -- "$$file" | ./gzip -d | cmp - "$$file" || exit 1; \ done @echo 'Test succeeded.'