Fix redirection so stray stderr output from qemu doesn't cause mysterious test

failures.
This commit is contained in:
David Given 2016-12-06 22:05:14 +01:00
parent 55e24e1f24
commit cc3d72e884

View file

@ -27,7 +27,7 @@ get_test_output() {
qemu-system-ppc) img="-kernel $img" ;; qemu-system-ppc) img="-kernel $img" ;;
esac esac
$timeoutprog -t $timeout -- $method -nographic $img 2>&1 > $result $timeoutprog -t $timeout -- $method -nographic $img > $result 2>&1
;; ;;
qemu-*) qemu-*)
@ -37,7 +37,7 @@ get_test_output() {
exit 0 exit 0
fi fi
$method $img 2>&1 > $result $method $img > $result 2>&1
;; ;;
*) *)