cvsdist cac436
--- zlib-1.1.4/Makefile.in.jj	Mon Mar 11 08:58:30 2002
cvsdist cac436
+++ zlib-1.1.4/Makefile.in	Fri Apr 26 06:53:12 2002
cvsdist cac436
@@ -62,13 +62,16 @@ all: example minigzip
cvsdist cac436
 
cvsdist cac436
 test: all
cvsdist cac436
 	@LD_LIBRARY_PATH=.:$(LD_LIBRARY_PATH) ; export LD_LIBRARY_PATH; \
cvsdist cac436
-	echo hello world | ./minigzip | ./minigzip -d || \
cvsdist cac436
-	  echo '		*** minigzip test FAILED ***' ; \
cvsdist cac436
+	ret=0; \
cvsdist cac436
+	if ! echo hello world | ./minigzip | ./minigzip -d; then \
cvsdist cac436
+	  echo '		*** minigzip test FAILED ***'; ret=1; \
cvsdist cac436
+	fi; \
cvsdist cac436
 	if ./example; then \
cvsdist cac436
 	  echo '		*** zlib test OK ***'; \
cvsdist cac436
 	else \
cvsdist cac436
-	  echo '		*** zlib test FAILED ***'; \
cvsdist cac436
-	fi
cvsdist cac436
+	  echo '		*** zlib test FAILED ***'; ret=1; \
cvsdist cac436
+	fi; \
cvsdist cac436
+	exit $$ret
cvsdist cac436
 
cvsdist cac436
 libz.a: $(OBJS) $(OBJA)
cvsdist cac436
 	$(AR) $@ $(OBJS) $(OBJA)