svn commit: trunk/uClibc/test

egtvedt at uclibc.org egtvedt at uclibc.org
Thu Oct 2 12:54:44 UTC 2008


Author: egtvedt
Date: 2008-10-02 05:54:43 -0700 (Thu, 02 Oct 2008)
New Revision: 23574

Log:
Use more generic redirecting of output in the test suite

This patch replaces the "&> file" with "> file 2>> file". The latter is
compatible with Busybox ash shell, which makes it easier to run the test suite
on target.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt at atmel.com>



Modified:
   trunk/uClibc/test/Test.mak


Changeset:
Modified: trunk/uClibc/test/Test.mak
===================================================================
--- trunk/uClibc/test/Test.mak	2008-10-02 05:21:27 UTC (rev 23573)
+++ trunk/uClibc/test/Test.mak	2008-10-02 12:54:43 UTC (rev 23574)
@@ -59,7 +59,7 @@
 	$(showtest)
 	$(Q)\
 	$(WRAPPER) $(WRAPPER_$(patsubst %_glibc,%,$(binary_name))) \
-	./$(binary_name) $(OPTS) $(OPTS_$(patsubst %_glibc,%,$(binary_name))) &> "$(binary_name).out" ; \
+	./$(binary_name) $(OPTS) $(OPTS_$(patsubst %_glibc,%,$(binary_name))) > "$(binary_name).out" 2>> "$(binary_name).out" ; \
 		ret=$$? ; \
 		expected_ret="$(RET_$(patsubst %_glibc,%,$(binary_name)))" ; \
 		test -z "$$expected_ret" && export expected_ret=0 ; \




More information about the uClibc-cvs mailing list