From patchwork Thu Jul 21 06:17:35 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Kara X-Patchwork-Id: 9240967 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 52BF0602F0 for ; Thu, 21 Jul 2016 06:17:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3ABDB27D85 for ; Thu, 21 Jul 2016 06:17:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2F53727DC2; Thu, 21 Jul 2016 06:17:44 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5DACE27D85 for ; Thu, 21 Jul 2016 06:17:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751028AbcGUGRm (ORCPT ); Thu, 21 Jul 2016 02:17:42 -0400 Received: from mx2.suse.de ([195.135.220.15]:35716 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750884AbcGUGRm (ORCPT ); Thu, 21 Jul 2016 02:17:42 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 073F8AC32 for ; Thu, 21 Jul 2016 06:17:41 +0000 (UTC) Received: by quack2.suse.cz (Postfix, from userid 1000) id E37D11E0F12; Thu, 21 Jul 2016 08:17:39 +0200 (CEST) From: Jan Kara To: fstests@vger.kernel.org Cc: Jan Kara Subject: [PATCH 1/2] generic/294: Filter backquotes from mknod error output Date: Thu, 21 Jul 2016 08:17:35 +0200 Message-Id: <1469081856-6424-1-git-send-email-jack@suse.cz> X-Mailer: git-send-email 2.6.6 Sender: fstests-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: fstests@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Really old versions of coreutils (mine are 8.12) quote a filename in the output with a backquote in the beginning and normal quote in the end. Improve _filter_mknod to handle that. Signed-off-by: Jan Kara --- common/filter | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/filter b/common/filter index 8d9f489bea1c..b229a97dfa0e 100644 --- a/common/filter +++ b/common/filter @@ -389,7 +389,7 @@ _filter_od() # mknod errors print unquoted filenames _filter_mknod() { - sed -e "s/mknod: '\(.*\)': File exists/mknod: \1: File exists/" + sed -e "s/mknod: [\`']\(.*\)': File exists/mknod: \1: File exists/" } # make sure this script returns success