From patchwork Fri Dec 11 08:35:07 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eryu Guan X-Patchwork-Id: 7827281 Return-Path: X-Original-To: patchwork-fstests@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id CAFE8BEEE1 for ; Fri, 11 Dec 2015 08:36:05 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 184D020573 for ; Fri, 11 Dec 2015 08:36:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id F340C2043C for ; Fri, 11 Dec 2015 08:36:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751843AbbLKIgD (ORCPT ); Fri, 11 Dec 2015 03:36:03 -0500 Received: from mx1.redhat.com ([209.132.183.28]:33577 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751618AbbLKIgC (ORCPT ); Fri, 11 Dec 2015 03:36:02 -0500 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (Postfix) with ESMTPS id 7F7C9A3D25 for ; Fri, 11 Dec 2015 08:36:02 +0000 (UTC) Received: from localhost (ovpn-12-20.pek2.redhat.com [10.72.12.20]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id tBB8Zx2Y020509; Fri, 11 Dec 2015 03:36:01 -0500 From: Eryu Guan To: fstests@vger.kernel.org Cc: Eryu Guan Subject: [PATCH 4/4] generic/079: _notrun if fs doesn't support ioctl Date: Fri, 11 Dec 2015 16:35:07 +0800 Message-Id: <1449822907-31197-5-git-send-email-eguan@redhat.com> In-Reply-To: <1449822907-31197-1-git-send-email-eguan@redhat.com> References: <1449822907-31197-1-git-send-email-eguan@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 Sender: fstests-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: fstests@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Overlayfs directory inode doesn't support ioctl and reports "Inappropriate ioctl", so grep for this error message and _notrun if the message is found. Signed-off-by: Eryu Guan --- tests/generic/079 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/generic/079 b/tests/generic/079 index 939c817..041d9c0 100755 --- a/tests/generic/079 +++ b/tests/generic/079 @@ -59,7 +59,7 @@ _scratch_mount || _fail "mount failed" echo "*** starting up" $timmutable -c $SCRATCH_MNT/$seq >$tmp.out 2>&1 -if grep -q 'Operation not supported' $tmp.out; then +if grep -q -e 'Operation not supported' -e "Inappropriate ioctl" $tmp.out; then rm -f $tmp.out _notrun "Setting immutable/append flag not supported" fi