diff options
author | Andrew Tridgell <tridge@samba.org> | 2006-09-14 20:07:45 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2006-09-14 20:07:45 +0000 |
commit | d8d1dfa03e1395b515a2c41c988a23cbce03728f (patch) | |
tree | 22d089e02a71145998f0ae9d6f3e0fc80b3f46fb /source | |
parent | 1f3c8832411720c27fad48ade6ee907adb153cf5 (diff) | |
download | samba-d8d1dfa03e1395b515a2c41c988a23cbce03728f.tar.gz samba-d8d1dfa03e1395b515a2c41c988a23cbce03728f.tar.xz samba-d8d1dfa03e1395b515a2c41c988a23cbce03728f.zip |
r18538: we need a pipe here, not a logical OR
also fix cn name for this record, and ensure tests/tmp is created
Diffstat (limited to 'source')
-rwxr-xr-x | source/lib/ldb/tests/test-generic.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/lib/ldb/tests/test-generic.sh b/source/lib/ldb/tests/test-generic.sh index d1cbc809385..e4085c6d654 100755 --- a/source/lib/ldb/tests/test-generic.sh +++ b/source/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 |