Author: idra Date: 2005-06-21 11:22:05 +0000 (Tue, 21 Jun 2005) New Revision: 7806
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=7806 Log: add test for binary files as attribute values Added: branches/SAMBA_4_0/source/lib/ldb/tests/photo.ldif branches/SAMBA_4_0/source/lib/ldb/tests/samba4.png Modified: branches/SAMBA_4_0/source/lib/ldb/tests/test-generic.sh Changeset: Added: branches/SAMBA_4_0/source/lib/ldb/tests/photo.ldif =================================================================== --- branches/SAMBA_4_0/source/lib/ldb/tests/photo.ldif 2005-06-21 11:14:54 UTC (rev 7805) +++ branches/SAMBA_4_0/source/lib/ldb/tests/photo.ldif 2005-06-21 11:22:05 UTC (rev 7806) @@ -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 + Added: branches/SAMBA_4_0/source/lib/ldb/tests/samba4.png =================================================================== (Binary files differ) Property changes on: branches/SAMBA_4_0/source/lib/ldb/tests/samba4.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Modified: branches/SAMBA_4_0/source/lib/ldb/tests/test-generic.sh =================================================================== --- branches/SAMBA_4_0/source/lib/ldb/tests/test-generic.sh 2005-06-21 11:14:54 UTC (rev 7805) +++ branches/SAMBA_4_0/source/lib/ldb/tests/test-generic.sh 2005-06-21 11:22:05 UTC (rev 7806) @@ -50,3 +50,6 @@ echo returned $count records - expected 3 exit 1 fi + +echo "Testing binary file attribute value" +$VALGRIND bin/ldbmodify tests/photo.ldif || exit 1