diff options
Diffstat (limited to 'source4/lib/ldb/tests')
-rw-r--r-- | source4/lib/ldb/tests/photo.ldif | 5 | ||||
-rw-r--r-- | source4/lib/ldb/tests/samba4.png | bin | 0 -> 6239 bytes | |||
-rwxr-xr-x | source4/lib/ldb/tests/test-generic.sh | 3 |
3 files changed, 8 insertions, 0 deletions
diff --git a/source4/lib/ldb/tests/photo.ldif b/source4/lib/ldb/tests/photo.ldif new file mode 100644 index 0000000000..24485f1203 --- /dev/null +++ b/source4/lib/ldb/tests/photo.ldif @@ -0,0 +1,5 @@ +dn: cn=Hampster Ursula,ou=Alumni Association,ou=People,o=University of Michigan,c=US +changetype: modify +add: photo +photo:< tests/samba4.png + diff --git a/source4/lib/ldb/tests/samba4.png b/source4/lib/ldb/tests/samba4.png Binary files differnew file mode 100644 index 0000000000..c8096889a6 --- /dev/null +++ b/source4/lib/ldb/tests/samba4.png diff --git a/source4/lib/ldb/tests/test-generic.sh b/source4/lib/ldb/tests/test-generic.sh index 5e0cc9cec6..2df22e756c 100755 --- a/source4/lib/ldb/tests/test-generic.sh +++ b/source4/lib/ldb/tests/test-generic.sh @@ -50,3 +50,6 @@ if [ "$count" != 3 ]; then echo returned $count records - expected 3 exit 1 fi + +echo "Testing binary file attribute value" +$VALGRIND bin/ldbmodify tests/photo.ldif || exit 1 |