diff options
author | Kevin Wolf <kwolf@redhat.com> | 2019-11-08 09:03:59 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2019-11-18 17:50:08 +0100 |
commit | d44abcc0f71a08e5777f8d4fe92902dc2eaaa468 (patch) | |
tree | ce6eb33d73f0970061a61cde26c9f8b0f9aeb0d8 | |
parent | dbf231d7b40ebc2dfd9a7c31c46dad6011d9c308 (diff) |
iotests: Fix "no qualified output" error path
The variable for error messages to be displayed is $results, not
$reason. Fix 'check' to print the "no qualified output" error message
again instead of having a failure without any message telling the user
why it failed.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
-rwxr-xr-x | tests/qemu-iotests/check | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qemu-iotests/check b/tests/qemu-iotests/check index 71fe38834e..90970b0549 100755 --- a/tests/qemu-iotests/check +++ b/tests/qemu-iotests/check @@ -887,7 +887,7 @@ do if [ ! -f "$reference" ] then status="fail" - reason="no qualified output" + results="no qualified output" err=true else if diff -w "$reference" $tmp.out >/dev/null 2>&1 |