From: Andrew Tridgell Date: Sat, 4 Oct 2008 00:08:39 +0000 (-0700) Subject: fixed the ldb blackbox test to work with non-bourne shells (as needed X-Git-Tag: samba-4.0.0alpha6~769^2~228^2~82 X-Git-Url: http://git.samba.org/?p=samba.git;a=commitdiff_plain;h=e13270d7ac1b8d1a85e67e3b84ca9bfdf88aa0cd fixed the ldb blackbox test to work with non-bourne shells (as needed by ubuntu) fixed spelling of 'wellknown' --- 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`