summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorHans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>2008-10-02 12:54:43 +0000
committerHans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>2008-10-02 12:54:43 +0000
commit2f35f236ff49bb039ac15faf3520986c9a322301 (patch)
treec4a28c4568ed6020f3a86e3de57817d2a1d3af96 /test
parentf35ba0de589702004c97f5c315866beeacddf658 (diff)
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@atmel.com>
Diffstat (limited to 'test')
-rw-r--r--test/Test.mak2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Test.mak b/test/Test.mak
index af415aa9e..c0c99966d 100644
--- a/test/Test.mak
+++ b/test/Test.mak
@@ -59,7 +59,7 @@ define exec_test
$(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 ; \