svn commit: samba r18538 - in branches/SAMBA_4_0/source/lib/ldb/tests: .

tridge at samba.org tridge at samba.org
Thu Sep 14 20:07:46 GMT 2006


Author: tridge
Date: 2006-09-14 20:07:45 +0000 (Thu, 14 Sep 2006)
New Revision: 18538

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=18538

Log:

we need a pipe here, not a logical OR

also fix cn name for this record, and ensure tests/tmp is created

Modified:
   branches/SAMBA_4_0/source/lib/ldb/tests/test-generic.sh


Changeset:
Modified: branches/SAMBA_4_0/source/lib/ldb/tests/test-generic.sh
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/tests/test-generic.sh	2006-09-14 19:36:26 UTC (rev 18537)
+++ branches/SAMBA_4_0/source/lib/ldb/tests/test-generic.sh	2006-09-14 20:07:45 UTC (rev 18538)
@@ -72,9 +72,10 @@
 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



More information about the samba-cvs mailing list