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:
Rob Crittenden
2009-09-14 16:12:58 -04:00
committed by Jason Gerard DeRose
parent aa7792a000
commit e62bbab37a
13 changed files with 322 additions and 7 deletions

View 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