summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2017-10-29 13:49:22 +0100
committerKevin Wolf <kwolf@redhat.com>2017-11-17 13:35:59 +0100
commitc60f6fcfbddccbafc80ae4b3d087406eb7182c3a (patch)
treedb9ca0bb464a6624ae2a48212eb21fc81f894119 /tests
parent611e0653adfb2765b712ad8bd312f2fd9765d13c (diff)
downloadqemu-c60f6fcfbddccbafc80ae4b3d087406eb7182c3a.zip
qemu-iotests: Use -nographic in 182
This avoids that random UI frontend error messages end up in the output. In particular, we were seeing this line in CI error logs: +Unable to init server: Could not connect: Connection refused Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Kashyap Chamarthy <kchamart@redhat.com> Reviewed-by: Jeff Cody <jcody@redhat.com>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/qemu-iotests/1822
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qemu-iotests/182 b/tests/qemu-iotests/182
index 2e078ceed8..4b31592fb8 100755
--- a/tests/qemu-iotests/182
+++ b/tests/qemu-iotests/182
@@ -62,7 +62,7 @@ _launch_qemu -drive file=$TEST_IMG,if=none,id=drive0,file.locking=on \
echo
echo "Starting a second QEMU using the same image should fail"
-echo 'quit' | $QEMU -monitor stdio \
+echo 'quit' | $QEMU -nographic -monitor stdio \
-drive file=$TEST_IMG,if=none,id=drive0,file.locking=on \
-device $virtioblk,drive=drive0 2>&1 | _filter_testdir 2>&1 |
_filter_qemu |