From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:50855) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1US2V6-000456-W9 for qemu-devel@nongnu.org; Tue, 16 Apr 2013 05:48:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1US2V2-0002Ow-4g for qemu-devel@nongnu.org; Tue, 16 Apr 2013 05:48:32 -0400 Received: from mx1.redhat.com ([209.132.183.28]:28206) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1US2V1-0002Oc-SW for qemu-devel@nongnu.org; Tue, 16 Apr 2013 05:48:28 -0400 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r3G9mQ3U011133 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 16 Apr 2013 05:48:26 -0400 From: Kevin Wolf Date: Tue, 16 Apr 2013 11:48:21 +0200 Message-Id: <1366105701-7968-1-git-send-email-kwolf@redhat.com> Subject: [Qemu-devel] [PATCH] qemu-iotests: Fix _filter_qemu List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, stefanha@redhat.com $QEMU_PROG happens to be 'qemu' in my setup, so this sed command replaces a bit too much. Restrict it to the start of the line and to when it's followed by a colon, i.e. the form used by error messages. Signed-off-by: Kevin Wolf --- tests/qemu-iotests/common.filter | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/qemu-iotests/common.filter b/tests/qemu-iotests/common.filter index bc5f250..a7f889a 100644 --- a/tests/qemu-iotests/common.filter +++ b/tests/qemu-iotests/common.filter @@ -155,7 +155,7 @@ _filter_qemu_io() # replace occurrences of QEMU_PROG with "qemu" _filter_qemu() { - sed -e "s#$(basename $QEMU_PROG)#QEMU_PROG#g" + sed -e "s#^$(basename $QEMU_PROG):#QEMU_PROG:#g" } # make sure this script returns success -- 1.8.1.4