summary refs log tree commit diff
path: root/tools/test.sh
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2021-08-16 19:09:42 -0700
committerQuentin Carbonneaux <quentin@c9x.me>2021-08-23 10:24:54 +0200
commit2dd269f522298836796ff78390d0eb0e244e41f4 (patch)
treea4f728743abb8f5d7aa0f0a31723dee277a1647b /tools/test.sh
parentf3414a492bf4623731f3850aaae5b4a7a2a83a4d (diff)
downloadroux-2dd269f522298836796ff78390d0eb0e244e41f4.tar.gz
test: include exit status in test failure reason
This was intended, but was missing due to a typo in the test status
variable.
Diffstat (limited to 'tools/test.sh')
-rwxr-xr-xtools/test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/test.sh b/tools/test.sh
index b4e7470..5f3292c 100755
--- a/tools/test.sh
+++ b/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