summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-09-14 20:07:45 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:18:43 -0500
commit1d7a878c8beb04dc9c0105ca45ded20bfc1cadee (patch)
tree64fdd7a2924129475fe698001f9ae55a9ff2cc9a /source4/lib
parent2a3ebd9a7e81e48b9e0975a471b301918156c5c3 (diff)
downloadsamba-1d7a878c8beb04dc9c0105ca45ded20bfc1cadee.tar.gz
samba-1d7a878c8beb04dc9c0105ca45ded20bfc1cadee.tar.bz2
samba-1d7a878c8beb04dc9c0105ca45ded20bfc1cadee.zip
r18538: we need a pipe here, not a logical OR
also fix cn name for this record, and ensure tests/tmp is created (This used to be commit 588c91f06b90467279600fe6a1222273b5d53915)
Diffstat (limited to 'source4/lib')
-rwxr-xr-xsource4/lib/ldb/tests/test-generic.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/lib/ldb/tests/test-generic.sh b/source4/lib/ldb/tests/test-generic.sh
index d1cbc80938..e4085c6d65 100755
--- a/source4/lib/ldb/tests/test-generic.sh
+++ b/source4/lib/ldb/tests/test-generic.sh
@@ -72,9 +72,10 @@ 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 $LDBDIR/tests/photo.ldif || exit 1
-count=`$VALGRIND ldbsearch '(cn=Hampster Ursula)' jpegPhoto || grep '^dn' | wc -l`
+count=`$VALGRIND ldbsearch '(cn=Ursula Hampster)' jpegPhoto | grep '^dn' | wc -l`
if [ $count != 1 ]; then
echo returned $count records - expected 1
exit 1