From patchwork Fri May 17 11:24:22 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luis Henriques X-Patchwork-Id: 10947801 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E42111398 for ; Fri, 17 May 2019 11:24:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D264322F3E for ; Fri, 17 May 2019 11:24:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C675C271CB; Fri, 17 May 2019 11:24:28 +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=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, 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 7D2BE22F3E for ; Fri, 17 May 2019 11:24:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728110AbfEQLY2 (ORCPT ); Fri, 17 May 2019 07:24:28 -0400 Received: from mx2.suse.de ([195.135.220.15]:49358 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727794AbfEQLY2 (ORCPT ); Fri, 17 May 2019 07:24:28 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 2002AAC32; Fri, 17 May 2019 11:24:27 +0000 (UTC) From: Luis Henriques To: fstests@vger.kernel.org Cc: Luis Henriques , Xiong Zhou Subject: [PATCH 2/2] overlay/023: use numeric user and group IDs in getfacl Date: Fri, 17 May 2019 12:24:22 +0100 Message-Id: <20190517112422.20671-3-lhenriques@suse.com> In-Reply-To: <20190517112422.20671-1-lhenriques@suse.com> References: <20190517112422.20671-1-lhenriques@suse.com> MIME-Version: 1.0 Sender: fstests-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: fstests@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This prevents test failures if cases where, e.g., /etc/group doesn't include the 'root' group ID. Cc: Xiong Zhou Signed-off-by: Luis Henriques --- tests/overlay/023 | 2 +- tests/overlay/023.out | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/overlay/023 b/tests/overlay/023 index 7e48349d1a12..edd034c3a9e3 100755 --- a/tests/overlay/023 +++ b/tests/overlay/023 @@ -55,7 +55,7 @@ setfacl -d -m o::rwx $wkdir _scratch_mount # getting acls, ACL set on workdir should be cleaned -getfacl -p $wkdir/work 2>&1 | _filter_scratch | _filter_ovl_dirs +getfacl -n -p $wkdir/work 2>&1 | _filter_scratch | _filter_ovl_dirs # success, all done status=0 diff --git a/tests/overlay/023.out b/tests/overlay/023.out index 4a243c5b44ce..911d272d2241 100644 --- a/tests/overlay/023.out +++ b/tests/overlay/023.out @@ -1,7 +1,7 @@ QA output created by 023 # file: SCRATCH_DEV/OVL_WORK/work -# owner: root -# group: root +# owner: 0 +# group: 0 user::--- group::--- other::---