summaryrefslogtreecommitdiffstats
path: root/testprogs
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2008-10-03 17:08:39 -0700
committerAndrew Tridgell <tridge@samba.org>2008-10-03 17:08:39 -0700
commite13270d7ac1b8d1a85e67e3b84ca9bfdf88aa0cd (patch)
treedb013c55efd8c4a867bd609bbd976bdb7ed86b2f /testprogs
parent23ec448f83ab00105b214388df287f0a934cdb7a (diff)
downloadsamba-e13270d7ac1b8d1a85e67e3b84ca9bfdf88aa0cd.tar.gz
samba-e13270d7ac1b8d1a85e67e3b84ca9bfdf88aa0cd.tar.xz
samba-e13270d7ac1b8d1a85e67e3b84ca9bfdf88aa0cd.zip
fixed the ldb blackbox test to work with non-bourne shells (as needed
by ubuntu) fixed spelling of 'wellknown'
Diffstat (limited to 'testprogs')
-rwxr-xr-xtestprogs/blackbox/test_ldb.sh14
1 files changed, 7 insertions, 7 deletions
diff --git a/testprogs/blackbox/test_ldb.sh b/testprogs/blackbox/test_ldb.sh
index 7a657d2e8d3..1774dbc7a34 100755
--- a/testprogs/blackbox/test_ldb.sh
+++ b/testprogs/blackbox/test_ldb.sh
@@ -117,7 +117,7 @@ echo "Search Options Control Query test returned 0 items"
failed=`expr $failed + 1`
fi
-function wellkown_object_test() {
+wellknown_object_test() {
local guid=$1
local object=$2
local basedns
@@ -149,32 +149,32 @@ function wellkown_object_test() {
return $failed
}
-wellkown_object_test 22B70C67D56E4EFB91E9300FCA3DC1AA ForeignSecurityPrincipals
+wellknown_object_test 22B70C67D56E4EFB91E9300FCA3DC1AA ForeignSecurityPrincipals
st=$?
if [ x"$st" != x"0" ]; then
failed=`expr $failed + $st`
fi
-wellkown_object_test 2FBAC1870ADE11D297C400C04FD8D5CD Infrastructure
+wellknown_object_test 2FBAC1870ADE11D297C400C04FD8D5CD Infrastructure
st=$?
if [ x"$st" != x"0" ]; then
failed=`expr $failed + $st`
fi
-wellkown_object_test AB1D30F3768811D1ADED00C04FD8D5CD System
+wellknown_object_test AB1D30F3768811D1ADED00C04FD8D5CD System
st=$?
if [ x"$st" != x"0" ]; then
failed=`expr $failed + $st`
fi
-wellkown_object_test A361B2FFFFD211D1AA4B00C04FD7D83A Domain Controllers
+wellknown_object_test A361B2FFFFD211D1AA4B00C04FD7D83A Domain Controllers
st=$?
if [ x"$st" != x"0" ]; then
failed=`expr $failed + $st`
fi
-wellkown_object_test AA312825768811D1ADED00C04FD8D5CD Computers
+wellknown_object_test AA312825768811D1ADED00C04FD8D5CD Computers
st=$?
if [ x"$st" != x"0" ]; then
failed=`expr $failed + $st`
fi
-wellkown_object_test A9D1CA15768811D1ADED00C04FD8D5CD Users
+wellknown_object_test A9D1CA15768811D1ADED00C04FD8D5CD Users
st=$?
if [ x"$st" != x"0" ]; then
failed=`expr $failed + $st`