1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-22 22:04:08 +03:00

selftest: Fix test samba4.blackbox.group.py

The test created two users and in later steps it tried adding two
non-existend users to groups. This fix adds now the two created
accounts to the groups instead.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=10871

Signed-off-by: Marc Muehlfeld <mmuehlfeld@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
This commit is contained in:
Marc Muehlfeld 2014-10-18 02:17:22 +02:00 committed by Michael Adam
parent 5340be1740
commit 1c7b81e768

View File

@ -32,20 +32,20 @@ testit "group add" $samba_tool group add $CONFIG --group-scope='Global' --group-
testit "group add" $samba_tool group add $CONFIG --group-scope='Universal' --group-type='Distribution' --description='UniversalDistributionGroup' --mail-address='udg@samba.org' --notes='Notes' udg
#test adding test users to all groups by their username
testit "group addmembers" $samba_tool group addmembers $CONFIG dsg newuser,newuser1
testit "group addmembers" $samba_tool group addmembers $CONFIG gsg newuser,newuser1
testit "group addmembers" $samba_tool group addmembers $CONFIG usg newuser,newuser1
testit "group addmembers" $samba_tool group addmembers $CONFIG ddg newuser,newuser1
testit "group addmembers" $samba_tool group addmembers $CONFIG gdg newuser,newuser1
testit "group addmembers" $samba_tool group addmembers $CONFIG udg newuser,newuser1
testit "group addmembers" $samba_tool group addmembers $CONFIG dsg testuser,testuser1
testit "group addmembers" $samba_tool group addmembers $CONFIG gsg testuser,testuser1
testit "group addmembers" $samba_tool group addmembers $CONFIG usg testuser,testuser1
testit "group addmembers" $samba_tool group addmembers $CONFIG ddg testuser,testuser1
testit "group addmembers" $samba_tool group addmembers $CONFIG gdg testuser,testuser1
testit "group addmembers" $samba_tool group addmembers $CONFIG udg testuser,testuser1
#test removing test users from all groups by their username
testit "group removemembers" $samba_tool group removemembers $CONFIG dsg newuser,newuser1
testit "group removemembers" $samba_tool group removemembers $CONFIG gsg newuser,newuser1
testit "group removemembers" $samba_tool group removemembers $CONFIG usg newuser,newuser1
testit "group removemembers" $samba_tool group removemembers $CONFIG ddg newuser,newuser1
testit "group removemembers" $samba_tool group removemembers $CONFIG gdg newuser,newuser1
testit "group removemembers" $samba_tool group removemembers $CONFIG udg newuser,newuser1
testit "group removemembers" $samba_tool group removemembers $CONFIG dsg testuser,testuser1
testit "group removemembers" $samba_tool group removemembers $CONFIG gsg testuser,testuser1
testit "group removemembers" $samba_tool group removemembers $CONFIG usg testuser,testuser1
testit "group removemembers" $samba_tool group removemembers $CONFIG ddg testuser,testuser1
testit "group removemembers" $samba_tool group removemembers $CONFIG gdg testuser,testuser1
testit "group removemembers" $samba_tool group removemembers $CONFIG udg testuser,testuser1
#test adding test users to all groups by their cn
#testit "group addmembers" $samba_tool group addmembers $CONFIG dsg "User UT. Tester,User1 UT. Tester"