summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>2008-10-02 14:15:05 +0000
committerHans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>2008-10-02 14:15:05 +0000
commit94bbeb72728193288f2bf071cf0e40293499045b (patch)
treedc5eb59d79a877202e16936fe15347455c1b8f73
parent2f35f236ff49bb039ac15faf3520986c9a322301 (diff)
Fix bad commit 23574 for io redirecting when running the test suite
This patch fixes the previous r23574 and uses a correct syntax for redirecting. ./foo > bar.out 2>&1
-rw-r--r--test/Test.mak2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Test.mak b/test/Test.mak
index c0c99966d..e0200db81 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" 2>> "$(binary_name).out" ; \
+ ./$(binary_name) $(OPTS) $(OPTS_$(patsubst %_glibc,%,$(binary_name))) > "$(binary_name).out" 2>&1 ; \
ret=$$? ; \
expected_ret="$(RET_$(patsubst %_glibc,%,$(binary_name)))" ; \
test -z "$$expected_ret" && export expected_ret=0 ; \