diff options
author | Kevin Wolf <kwolf@redhat.com> | 2017-04-13 19:19:51 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2017-04-27 15:39:49 +0200 |
commit | 69404d9e474e9df3d32fbab74b856d76acd77580 (patch) | |
tree | c8277c323cae98e20b7e1156fcb42ef055dd5777 /tests/qemu-iotests/068 | |
parent | 0042fd3663662c848aaff5c65b6880e545d94b18 (diff) |
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-x | tests/qemu-iotests/068 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/qemu-iotests/068 b/tests/qemu-iotests/068 index 68f6e825d9..9c1687d01d 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" |