Return-Path: Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29]) by oss.sgi.com (Postfix) with ESMTP id E2B897F37 for ; Mon, 14 Dec 2015 17:41:09 -0600 (CST) Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by relay2.corp.sgi.com (Postfix) with ESMTP id CEABB304048 for ; Mon, 14 Dec 2015 15:41:09 -0800 (PST) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id E9lFUilzUbIADfWe (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Mon, 14 Dec 2015 15:41:09 -0800 (PST) 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 B4F2E96BD for ; Mon, 14 Dec 2015 23:41:08 +0000 (UTC) From: Andreas Gruenbacher Subject: [XFSTESTS v3 1/6] check: Don't complain about missing tests/$FSTYP/group Date: Tue, 15 Dec 2015 00:40:57 +0100 Message-Id: <1450136462-11521-2-git-send-email-agruenba@redhat.com> In-Reply-To: <1450136462-11521-1-git-send-email-agruenba@redhat.com> References: <1450136462-11521-1-git-send-email-agruenba@redhat.com> List-Id: XFS Filesystem from SGI List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: xfs-bounces@oss.sgi.com Sender: xfs-bounces@oss.sgi.com To: xfs@oss.sgi.com Cc: Andreas Gruenbacher When filesystems don't have filesystem specific tests, those nonexistent tests also won't have a group file. Signed-off-by: Andreas Gruenbacher --- check | 2 ++ 1 file changed, 2 insertions(+) diff --git a/check b/check index 8281322..4a9b332 100755 --- a/check +++ b/check @@ -95,6 +95,8 @@ get_group_list() grp=$1 for d in $SRC_GROUPS $FSTYP; do + [ -e "$SRC_DIR/$d/group" ] || continue + l=$(sed -n < $SRC_DIR/$d/group \ -e 's/#.*//' \ -e 's/$/ /' \ -- 2.5.0 _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs