From patchwork Fri Jun 2 14:50:46 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nikolay Borisov X-Patchwork-Id: 9762721 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 5CB7F60365 for ; Fri, 2 Jun 2017 14:51:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4D30828597 for ; Fri, 2 Jun 2017 14:51:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3F79A28598; Fri, 2 Jun 2017 14:51:00 +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 BCE0928587 for ; Fri, 2 Jun 2017 14:50:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751161AbdFBOu7 (ORCPT ); Fri, 2 Jun 2017 10:50:59 -0400 Received: from mx2.suse.de ([195.135.220.15]:53254 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751153AbdFBOu7 (ORCPT ); Fri, 2 Jun 2017 10:50:59 -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 mx1.suse.de (Postfix) with ESMTP id CB131AC7E; Fri, 2 Jun 2017 14:50:57 +0000 (UTC) From: Nikolay Borisov To: eguan@redhat.com Cc: fstests@vger.kernel.org, Nikolay Borisov Subject: [PATCH] common: Fix wrong word in _require_group Date: Fri, 2 Jun 2017 17:50:46 +0300 Message-Id: <1496415046-23940-1-git-send-email-nborisov@suse.com> X-Mailer: git-send-email 2.7.4 Sender: fstests-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: fstests@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Make _require_group yield the correct error message when the requested group is not found. Signed-off-by: Nikolay Borisov --- common/rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/rc b/common/rc index 743df427..87e6ff08 100644 --- a/common/rc +++ b/common/rc @@ -2027,7 +2027,7 @@ _require_group() qa_group=$1 fi _cat_group | grep -q $qa_group - [ "$?" == "0" ] || _notrun "$qa_group user not defined." + [ "$?" == "0" ] || _notrun "$qa_group group not defined." } _filter_user_do()