From dbaf1a688d2546116244d0bc9115cf3deb3fe3bb Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 16 Aug 2009 17:06:42 +0200 Subject: [PATCH] tests: don't misinterpret a failing test as successful * Makefile.am (check-local): Exit "1" upon failure, not 0. --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.' -- 2.47.2