Blame SOURCES/kvm-iotests-Filter-for-Killed-in-qemu-io-output.patch

619821
From 27158eec51a5a443d9ae9a7b565b40b749f6f41b Mon Sep 17 00:00:00 2001
619821
From: Max Reitz <mreitz@redhat.com>
619821
Date: Mon, 13 Mar 2017 17:46:45 +0100
619821
Subject: [PATCH 14/24] iotests: Filter for "Killed" in qemu-io output
619821
619821
RH-Author: Max Reitz <mreitz@redhat.com>
619821
Message-id: <20170313174649.28932-1-mreitz@redhat.com>
619821
Patchwork-id: 74276
619821
O-Subject: [RHEL-7.4 qemu-kvm PATCH 5/9] iotests: Filter for "Killed" in qemu-io output
619821
Bugzilla: 1427176
619821
RH-Acked-by: Fam Zheng <famz@redhat.com>
619821
RH-Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
619821
RH-Acked-by: Kevin Wolf <kwolf@redhat.com>
619821
619821
_filter_qemu_io already filters out the process ID when qemu-io is
619821
aborted; the same should be done when it is killed.
619821
619821
Signed-off-by: Max Reitz <mreitz@redhat.com>
619821
Reviewed-by: Fam Zheng <famz@redhat.com>
619821
Message-id: 1418032092-16813-3-git-send-email-mreitz@redhat.com
619821
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
619821
(cherry picked from commit 9e0c3e8df5d1b12517d587d60b2fe587ea252ebe)
619821
Signed-off-by: Max Reitz <mreitz@redhat.com>
619821
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
619821
---
619821
 tests/qemu-iotests/common.filter | 2 +-
619821
 1 file changed, 1 insertion(+), 1 deletion(-)
619821
619821
diff --git a/tests/qemu-iotests/common.filter b/tests/qemu-iotests/common.filter
619821
index dcd246d..041e001 100644
619821
--- a/tests/qemu-iotests/common.filter
619821
+++ b/tests/qemu-iotests/common.filter
619821
@@ -150,7 +150,7 @@ _filter_win32()
619821
 _filter_qemu_io()
619821
 {
619821
     _filter_win32 | sed -e "s/[0-9]* ops\; [0-9/:. sec]* ([0-9/.inf]* [EPTGMKiBbytes]*\/sec and [0-9/.inf]* ops\/sec)/X ops\; XX:XX:XX.X (XXX YYY\/sec and XXX ops\/sec)/" \
619821
-        -e "s/: line [0-9][0-9]*:  *[0-9][0-9]*\( Aborted\)/:\1/" \
619821
+        -e "s/: line [0-9][0-9]*:  *[0-9][0-9]*\( Aborted\| Killed\)/:\1/" \
619821
         -e "s/qemu-io> //g"
619821
 }
619821
 
619821
-- 
619821
1.8.3.1
619821