]> www.infradead.org Git - users/hch/xfstests-dev.git/commitdiff
overlay/023: use numeric user and group IDs in getfacl
authorLuis Henriques <lhenriques@suse.com>
Fri, 17 May 2019 11:24:22 +0000 (12:24 +0100)
committerEryu Guan <guaneryu@gmail.com>
Thu, 23 May 2019 08:56:16 +0000 (16:56 +0800)
This prevents test failures if cases where, e.g., /etc/group doesn't
include the 'root' group ID.

Cc: Xiong Zhou <xzhou@redhat.com>
Signed-off-by: Luis Henriques <lhenriques@suse.com>
Reviewed-by: Murphy Zhou <xzhou@redhat.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
tests/overlay/023
tests/overlay/023.out

index 7e48349d1a124d2225c1d83d5282bdf8e4232f30..edd034c3a9e31bb3fbef06f45df5ffc10ea8961d 100755 (executable)
@@ -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
index 4a243c5b44ce0bfc46607cd8778a29f65f506eec..911d272d22417e33338181bc007a012a1899c974 100644 (file)
@@ -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::---