From: Luis Henriques Date: Fri, 17 May 2019 11:24:22 +0000 (+0100) Subject: overlay/023: use numeric user and group IDs in getfacl X-Git-Tag: v2022.05.01~1164 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=9f2e4554c53df3bdc88d58538577e6c6ee86db72;p=users%2Fhch%2Fxfstests-dev.git overlay/023: use numeric user and group IDs in getfacl 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 Reviewed-by: Murphy Zhou Signed-off-by: Eryu Guan --- diff --git a/tests/overlay/023 b/tests/overlay/023 index 7e48349d1..edd034c3a 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 4a243c5b4..911d272d2 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::---