summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruenba@redhat.com>2016-03-07 20:24:08 +0100
committerAndreas Gruenbacher <agruenba@redhat.com>2016-03-07 20:24:08 +0100
commit01b130542b6b58ce77d3dc1b18138bd82f4089d1 (patch)
treed37e885abd00a219ebc25abc8748ef1b88c1deb2
parentea5590f26ba44341452722b19397d40d33c66ebf (diff)
downloadacl-01b130542b6b58ce77d3dc1b18138bd82f4089d1.tar.gz
Add additional group names for root-specific tests
The root-specific tests use two additional groups. Add them to test/test.group and don't create / delete the non-standard group with groupadd / groupdel.
-rw-r--r--test/root/getfacl.test2
-rw-r--r--test/test.group2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/root/getfacl.test b/test/root/getfacl.test
index 649ebae..896b9fa 100644
--- a/test/root/getfacl.test
+++ b/test/root/getfacl.test
@@ -7,7 +7,6 @@ Cry immediately if we are not running as root.
$ umask 022
$ mkdir d
- $ groupadd loooooooooooooooooooooooonggroup
$ setfacl -dm group:loooooooooooooooooooooooonggroup:rwx d
$ getfacl -cde d
> user::rwx
@@ -17,5 +16,4 @@ Cry immediately if we are not running as root.
> other::r-x
>
- $ groupdel loooooooooooooooooooooooonggroup
$ rm -r d
diff --git a/test/test.group b/test/test.group
index 5f9ca8f..7bb1768 100644
--- a/test/test.group
+++ b/test/test.group
@@ -1,3 +1,5 @@
+root:x:0:root
bin:x:1:daemon
daemon:x:2:
users:x:100:
+loooooooooooooooooooooooonggroup:x:1000: