diff options
author | Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com> | 2008-10-02 12:54:43 +0000 |
---|---|---|
committer | Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com> | 2008-10-02 12:54:43 +0000 |
commit | 2f35f236ff49bb039ac15faf3520986c9a322301 (patch) | |
tree | c4a28c4568ed6020f3a86e3de57817d2a1d3af96 | |
parent | f35ba0de589702004c97f5c315866beeacddf658 (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>
-rw-r--r-- | test/Test.mak | 2 |
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 ; \ |