You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by Matt Kraai <kr...@alumni.cmu.edu> on 2002/12/29 18:24:26 UTC
[PATCH] fix check targets
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
testflock@EXEEXT@: 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
Re: [PATCH] fix check targets
Posted by Thom May <th...@planetarytramp.net>.
* Matt Kraai (kraai@alumni.cmu.edu) wrote :
> Howdy,
>
> The following patches fix the check targets.
>
Committed, thanks
-Thom