summaryrefslogtreecommitdiff
path: root/testprogs
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-01-16 08:57:28 +1100
committerAndrew Bartlett <abartlet@samba.org>2008-01-16 08:57:28 +1100
commit0ec60cfd830536c8e525b98df85375f50af9c413 (patch)
treef5291d6a0f2fee187483b12e9d639cb329354389 /testprogs
parent483164e1eb2a5b863cdd8adb515f4e4925f33a25 (diff)
downloadsamba-0ec60cfd830536c8e525b98df85375f50af9c413.tar.gz
samba-0ec60cfd830536c8e525b98df85375f50af9c413.tar.bz2
samba-0ec60cfd830536c8e525b98df85375f50af9c413.zip
Make ldap.js test easier to re-run in failure cases, by deleting more
things that we will create later. Andrew Bartlett (This used to be commit 9b47b551a3762590fefa5308310d91c6d8b378e5)
Diffstat (limited to 'testprogs')
-rwxr-xr-xtestprogs/ejs/ldap.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/testprogs/ejs/ldap.js b/testprogs/ejs/ldap.js
index c03dbe9ce2..836b726ad9 100755
--- a/testprogs/ejs/ldap.js
+++ b/testprogs/ejs/ldap.js
@@ -30,7 +30,12 @@ function basic_tests(ldb, gc_ldb, base_dn, configuration_dn, schema_dn)
println("Running basic tests");
ldb.del("cn=ldaptestuser,cn=users," + base_dn);
-
+ ldb.del("cn=ldaptestuser2,cn=users," + base_dn);
+ ldb.del("cn=ldaptestuser3,cn=users," + base_dn);
+ ldb.del("cn=ldaptestuser4,cn=users," + base_dn);
+ ldb.del("cn=ldaptestuser5,cn=users," + base_dn);
+ ldb.del("CN=ldaptestuser4,CN=ldaptestcontainer2," + base_dn);
+ ldb.del("CN=ldaptestcontainer2," + base_dn);
ldb.del("cn=ldaptestgroup,cn=users," + base_dn);
println("Testing group add with invalid member");