Browse Source

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
Hans-Christian Egtvedt 16 years ago
parent
commit
94bbeb7272
1 changed files with 1 additions and 1 deletions
  1. 1 1
      test/Test.mak

+ 1 - 1
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 ; \