changeset 51:bec1eb5ac326

Use -x + '' to get the output redirection to work correctly.
author Joerg Sonnenberger <joerg@bec.de>
date Sun, 31 Mar 2013 06:07:32 +0200
parents ce9347338583
children ebdc6a4cb0f8
files tests/tradcpp.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/tradcpp.sh	Sun Mar 31 05:39:50 2013 +0200
+++ b/tests/tradcpp.sh	Sun Mar 31 06:07:32 2013 +0200
@@ -18,7 +18,7 @@
 		options=$(cat ${options_file})
 	fi
 	eval "${name}_body() { \
-		atf_check -s eq:0 -o ${stdout} "${tradcpp} ${options} ${source} 2\>\&1"; \
+		atf_check -s eq:0 -o ${stdout} -x '${tradcpp} ${options} ${source} 2>&1'; \
 	}"
 }