aboutsummaryrefslogtreecommitdiff
path: root/tests/qemu-iotests/068
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2017-04-13 19:19:51 +0200
committerKevin Wolf <kwolf@redhat.com>2017-04-27 15:39:49 +0200
commit69404d9e474e9df3d32fbab74b856d76acd77580 (patch)
treec8277c323cae98e20b7e1156fcb42ef055dd5777 /tests/qemu-iotests/068
parent0042fd3663662c848aaff5c65b6880e545d94b18 (diff)
downloadqemu-69404d9e474e9df3d32fbab74b856d76acd77580.zip
qemu-69404d9e474e9df3d32fbab74b856d76acd77580.tar.gz
qemu-69404d9e474e9df3d32fbab74b856d76acd77580.tar.bz2
qemu-iotests: Filter HMP readline escape characters
The only thing the escape characters achieve is making the reference output unreadable and lines that are potentially so long that git doesn't want to put them into an email any more. Let's filter them out. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/068')
-rwxr-xr-xtests/qemu-iotests/0684
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/qemu-iotests/068 b/tests/qemu-iotests/068
index 68f6e82..9c1687d 100755
--- a/tests/qemu-iotests/068
+++ b/tests/qemu-iotests/068
@@ -62,11 +62,11 @@ esac
# Give qemu some time to boot before saving the VM state
bash -c 'sleep 1; echo -e "savevm 0\nquit"' |\
$QEMU $platform_parm -nographic -monitor stdio -serial none -hda "$TEST_IMG" |\
- _filter_qemu
+ _filter_qemu | _filter_hmp
# Now try to continue from that VM state (this should just work)
echo quit |\
$QEMU $platform_parm -nographic -monitor stdio -serial none -hda "$TEST_IMG" -loadvm 0 |\
- _filter_qemu
+ _filter_qemu | _filter_hmp
# success, all done
echo "*** done"