From fafa8c3e47497a9f399e9ca52a7e6a904f1fb9f6 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 14 Sep 2006 18:46:10 +0000 Subject: r18535: move the AC_CANONICAL_HOST and host specific flag tests into libreplace. This should fix the standalone build of tdb on HPUX, where we need to blacklist mmap. Unfortunately this requires that we have a copy of config.guess and config.sub in each of our project subdirectories. I tried to find a way to use something like AC_CONFIG_AUX_DIR($libreplacedir) and just put config.{guess,sub} in the lib/replace/ directory, but I couldn't figure out how to do that in a way that kept autoconf happy for each of our separate builds. Any autoconf guru out there see a way to do this? (This used to be commit 823cd3ab35456769dcefee17bdaca21f01ba0f63) --- source4/lib/ldb/tests/photo.ldif | 2 +- source4/lib/ldb/tests/test-generic.sh | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'source4/lib/ldb/tests') diff --git a/source4/lib/ldb/tests/photo.ldif b/source4/lib/ldb/tests/photo.ldif index 3458f7eff4..28981b1f24 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:///tmp/samba4.png +jpegPhoto:< file://tests/tmp/samba4.png diff --git a/source4/lib/ldb/tests/test-generic.sh b/source4/lib/ldb/tests/test-generic.sh index bebb5f165c..c1e0039b97 100755 --- a/source4/lib/ldb/tests/test-generic.sh +++ b/source4/lib/ldb/tests/test-generic.sh @@ -72,9 +72,11 @@ if [ $count != 3 ]; then fi echo "Testing binary file attribute value" -cp tests/samba4.png /tmp/samba4.png -$VALGRIND ldbmodify $LDBDIR/tests/photo.ldif || echo "this seem to fail on ldap ..." -rm /tmp/samba4.png +cp $LDBDIR/tests/samba4.png tests/tmp/samba4.png +#$VALGRIND ldbmodify $LDBDIR/tests/photo.ldif || exit 1 +#exit 1 +#$VALGRIND ldbsearch '(cn=Hampster Ursula)' jpegPhoto +rm -f tests/tmp/samba4.png echo "*TODO* Testing UTF8 upper lower case searches !!" -- cgit