From aaa16b8224ecabda9a810246d445dcbcd02c8b86 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 27 Dec 2010 13:17:00 +0100 Subject: s4:ldb/tests: there's no need to copy samba4.png metze --- source4/lib/ldb/tests/photo.ldif | 2 +- source4/lib/ldb/tests/test-generic.sh | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) (limited to 'source4/lib') diff --git a/source4/lib/ldb/tests/photo.ldif b/source4/lib/ldb/tests/photo.ldif index 28981b1f24..95ab065672 100644 --- a/source4/lib/ldb/tests/photo.ldif +++ b/source4/lib/ldb/tests/photo.ldif @@ -1,5 +1,5 @@ dn: cn=Hampster Ursula,ou=Alumni Association,ou=People,o=University of Michigan,c=TEST changetype: modify add: jpegPhoto -jpegPhoto:< file://tests/tmp/samba4.png +jpegPhoto:< file://tests/samba4.png diff --git a/source4/lib/ldb/tests/test-generic.sh b/source4/lib/ldb/tests/test-generic.sh index c8645a57aa..8bbb7698fd 100755 --- a/source4/lib/ldb/tests/test-generic.sh +++ b/source4/lib/ldb/tests/test-generic.sh @@ -81,15 +81,12 @@ if [ $count != 3 ]; then fi echo "Testing binary file attribute value" -mkdir -p tests/tmp -cp $LDBDIR/tests/samba4.png tests/tmp/samba4.png $VALGRIND ldbmodify$EXEEXT $LDBDIR/tests/photo.ldif || exit 1 count=`$VALGRIND ldbsearch$EXEEXT '(cn=Hampster Ursula)' jpegPhoto | grep '^dn' | wc -l` if [ $count != 1 ]; then echo returned $count records - expected 1 exit 1 fi -rm -f tests/tmp/samba4.png echo "*TODO* Testing UTF8 upper lower case searches !!" -- cgit