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>
This commit is contained in:
Kevin Wolf 2019-11-08 09:03:59 +01:00
parent dbf231d7b4
commit d44abcc0f7

View file

@ -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