[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] iotests: Fix "no qualified output" error path
From: |
Kevin Wolf |
Subject: |
[PATCH] iotests: Fix "no qualified output" error path |
Date: |
Fri, 8 Nov 2019 09:57:13 +0100 |
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 <address@hidden>
---
tests/qemu-iotests/check | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/qemu-iotests/check b/tests/qemu-iotests/check
index 588c453a94..5218728470 100755
--- a/tests/qemu-iotests/check
+++ b/tests/qemu-iotests/check
@@ -876,7 +876,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
--
2.20.1
- [PATCH] iotests: Fix "no qualified output" error path,
Kevin Wolf <=