From cc3d72e884848fce02ad44277924d9eecce14ff0 Mon Sep 17 00:00:00 2001 From: David Given Date: Tue, 6 Dec 2016 22:05:14 +0100 Subject: [PATCH] Fix redirection so stray stderr output from qemu doesn't cause mysterious test failures. --- tests/plat/testdriver.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/plat/testdriver.sh b/tests/plat/testdriver.sh index 5e8e5b899..384c83b47 100755 --- a/tests/plat/testdriver.sh +++ b/tests/plat/testdriver.sh @@ -27,7 +27,7 @@ get_test_output() { qemu-system-ppc) img="-kernel $img" ;; esac - $timeoutprog -t $timeout -- $method -nographic $img 2>&1 > $result + $timeoutprog -t $timeout -- $method -nographic $img > $result 2>&1 ;; qemu-*) @@ -37,7 +37,7 @@ get_test_output() { exit 0 fi - $method $img 2>&1 > $result + $method $img > $result 2>&1 ;; *) -- 2.34.1