瀏覽代碼

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 4 年之前
父節點
當前提交
2dd269f522
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tools/test.sh

+ 1 - 1
tools/test.sh

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