Howdy,

The following patches fix the check targets.

Matt

Index: test/Makefile.in
===================================================================
RCS file: /home/cvspublic/apr/test/Makefile.in,v
retrieving revision 1.131
diff -u -r1.131 Makefile.in
--- test/Makefile.in    10 Dec 2002 20:06:50 -0000      1.131
+++ test/Makefile.in    29 Dec 2002 17:20:48 -0000
@@ -36,10 +36,10 @@
 check: $(PROGRAMS) $(NONPORTABLE)
        for prog in $(PROGRAMS) $(NONPORTABLE); do \
                ./$$prog; \
-               if test $$i = 255; then \
+               if test $$? = 255; then \
                        echo "$$prog failed"; \
                        break; \
-               fi \
+               fi; \
        done
 
 [EMAIL PROTECTED]@: testflock.lo $(LOCAL_LIBS)

Index: test/Makefile.in
===================================================================
RCS file: /home/cvspublic/apr-util/test/Makefile.in,v
retrieving revision 1.34
diff -u -r1.34 Makefile.in
--- test/Makefile.in    7 Oct 2002 16:34:59 -0000       1.34
+++ test/Makefile.in    29 Dec 2002 17:20:53 -0000
@@ -18,11 +18,11 @@
 
 check: $(PROGRAMS)
        for prog in $(PROGRAMS); do \
-               ./$$prog \
-               if test $$i = 255; then \
+               ./$$prog; \
+               if test $$? = 255; then \
                        echo "$$prog failed"; \
                        break; \
-               fi \
+               fi; \
        done
 
 testdbm_OBJECTS = testdbm.lo

Reply via email to