functionalprep.sh: Add test for samba-tool add group --special
commit4f1b7684ed437d1e4bf77a867ee0384bc939f312
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Thu, 3 Mar 2022 07:59:48 +0000 (3 20:59 +1300)
committerStefan Metzmacher <metze@samba.org>
Fri, 18 Mar 2022 11:55:30 +0000 (18 11:55 +0000)
tree87f046eae40a114010032d0ad2691146e32a9254
parentbf509bf7df1348f4793a32dea99c9ec3384c9ad0
functionalprep.sh: Add test for samba-tool add group --special

Test that we can add the special Protected Users group, and that we get
an appropriate error message when attempting to add it a second time.

We add these tests here so that we can make use of an old provision that
does not already have the Protected Users group added.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
selftest/knownfail.d/samba-tool-group-special [new file with mode: 0644]
selftest/tests.py
testprogs/blackbox/test_special_group.sh [new file with mode: 0755]