Ver Fonte

test: include exit status in test failure reason

This was intended, but was missing due to a typo in the test status
variable.
Michael Forney há 4 anos atrás
pai
commit
2dd269f522
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      tools/test.sh

+ 1 - 1
tools/test.sh

@@ -143,7 +143,7 @@ once() {
 	else
 	else
 		$qemu $exe a b c
 		$qemu $exe a b c
 		ret=$?
 		ret=$?
-		reason="returned $RET"
+		reason="returned $ret"
 	fi
 	fi
 
 
 	if test $ret -ne 0
 	if test $ret -ne 0