From 9f2e4554c53df3bdc88d58538577e6c6ee86db72 Mon Sep 17 00:00:00 2001 From: Luis Henriques Date: Fri, 17 May 2019 12:24:22 +0100 Subject: [PATCH] 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 --- 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 7e48349d..edd034c3 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 4a243c5b..911d272d 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::---