mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Let the updater delete entries and add small test harness
In order to run the tests you must put your DM password into ~/.ipa/.dmpw Some tests are expected to generate errors. Don't let any ERROR messages from the updater fool you, watch the pass/fail of the nosetests.
This commit is contained in:
committed by
Jason Gerard DeRose
parent
aa7792a000
commit
e62bbab37a
23
tests/test_install/1_add.update
Normal file
23
tests/test_install/1_add.update
Normal file
@@ -0,0 +1,23 @@
|
||||
# Add in a new place in the DIT for our test cases
|
||||
|
||||
dn: cn=test, cn=accounts, $SUFFIX
|
||||
add:objectClass: top
|
||||
add:objectClass: ipaContainer
|
||||
add:cn: test
|
||||
add:description: Test container
|
||||
|
||||
# Add a test user
|
||||
dn: uid=tuser, cn=test, cn=accounts, $SUFFIX
|
||||
add:objectclass: top
|
||||
add:objectclass: person
|
||||
add:objectclass: posixaccount
|
||||
add:objectclass: krbprincipalaux
|
||||
add:objectclass: inetuser
|
||||
add:homedirectory: /home/tuser
|
||||
add:loginshell: /bin/bash
|
||||
add:sn: User
|
||||
add:uid: tuser
|
||||
add:uidnumber: 999
|
||||
add:gidnumber: 999
|
||||
add:cn: Test User
|
||||
|
||||
Reference in New Issue
Block a user