summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-12-27 13:17:00 +0100
committerStefan Metzmacher <metze@samba.org>2010-12-27 15:37:57 +0100
commitaaa16b8224ecabda9a810246d445dcbcd02c8b86 (patch)
treef5747d69ce094be6f4e21bf0b6534d46466f89a2 /source4
parent7ea1b767977c8c201c0f5bfaeb01f96af4b51f7b (diff)
downloadsamba-aaa16b8224ecabda9a810246d445dcbcd02c8b86.tar.gz
samba-aaa16b8224ecabda9a810246d445dcbcd02c8b86.tar.bz2
samba-aaa16b8224ecabda9a810246d445dcbcd02c8b86.zip
s4:ldb/tests: there's no need to copy samba4.png
metze
Diffstat (limited to 'source4')
-rw-r--r--source4/lib/ldb/tests/photo.ldif2
-rwxr-xr-xsource4/lib/ldb/tests/test-generic.sh3
2 files changed, 1 insertions, 4 deletions
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 !!"