summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorned <ned@appliedtrust.com>2014-11-23 20:03:05 +0100
committerned <ned@appliedtrust.com>2014-11-23 20:03:05 +0100
commitc43d537d5bb0eeb491153b00cdefcb54a6178187 (patch)
tree45187fde4a720d3f53d13ec45ac4fea8e27356e4 /tests
parentLDAP server support (diff)
downloadldap-c43d537d5bb0eeb491153b00cdefcb54a6178187.tar
ldap-c43d537d5bb0eeb491153b00cdefcb54a6178187.tar.gz
ldap-c43d537d5bb0eeb491153b00cdefcb54a6178187.tar.bz2
ldap-c43d537d5bb0eeb491153b00cdefcb54a6178187.tar.lz
ldap-c43d537d5bb0eeb491153b00cdefcb54a6178187.tar.xz
ldap-c43d537d5bb0eeb491153b00cdefcb54a6178187.tar.zst
ldap-c43d537d5bb0eeb491153b00cdefcb54a6178187.zip
Diffstat (limited to '')
-rw-r--r--tests/add.ldif6
-rw-r--r--tests/add2.ldif6
-rw-r--r--tests/cert_DONOTUSE.pem (renamed from examples/cert_DONOTUSE.pem)0
-rw-r--r--tests/key_DONOTUSE.pem (renamed from examples/key_DONOTUSE.pem)0
-rw-r--r--tests/modify.ldif16
-rw-r--r--tests/modify2.ldif10
6 files changed, 38 insertions, 0 deletions
diff --git a/tests/add.ldif b/tests/add.ldif
new file mode 100644
index 0000000..f8cdf71
--- /dev/null
+++ b/tests/add.ldif
@@ -0,0 +1,6 @@
+dn: cn=Barbara Jensen,dc=example,dc=com
+objectClass: person
+cn: Barbara Jensen
+sn: Jensen
+mail: bjensen@example.com
+uid: bjensen
diff --git a/tests/add2.ldif b/tests/add2.ldif
new file mode 100644
index 0000000..ccb71ad
--- /dev/null
+++ b/tests/add2.ldif
@@ -0,0 +1,6 @@
+dn: cn=Big Bob,dc=example,dc=com
+objectClass: person
+cn: Big Bob
+sn: Bob
+mail: bob@example.com
+uid: bob
diff --git a/examples/cert_DONOTUSE.pem b/tests/cert_DONOTUSE.pem
index ee14324..ee14324 100644
--- a/examples/cert_DONOTUSE.pem
+++ b/tests/cert_DONOTUSE.pem
diff --git a/examples/key_DONOTUSE.pem b/tests/key_DONOTUSE.pem
index 7feaa11..7feaa11 100644
--- a/examples/key_DONOTUSE.pem
+++ b/tests/key_DONOTUSE.pem
diff --git a/tests/modify.ldif b/tests/modify.ldif
new file mode 100644
index 0000000..ac969cc
--- /dev/null
+++ b/tests/modify.ldif
@@ -0,0 +1,16 @@
+dn: cn=testy,dc=example,dc=com
+changetype: modify
+replace: mail
+mail: modme@example.com
+-
+delete: manager
+-
+add: title
+title: Grand Poobah
+-
+delete: description
+-
+delete: details
+-
+replace: fullname
+fullname: Test Testerson
diff --git a/tests/modify2.ldif b/tests/modify2.ldif
new file mode 100644
index 0000000..794d7f4
--- /dev/null
+++ b/tests/modify2.ldif
@@ -0,0 +1,10 @@
+dn: cn=testo,dc=example,dc=com
+changetype: modify
+replace: mail
+mail: modid@example.com
+-
+delete: manager
+-
+add: title
+title: Other Poobah
+-