diff options
-rwxr-xr-x | testprogs/blackbox/test_ldb.sh | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/testprogs/blackbox/test_ldb.sh b/testprogs/blackbox/test_ldb.sh index 1609a95d06..f326672670 100755 --- a/testprogs/blackbox/test_ldb.sh +++ b/testprogs/blackbox/test_ldb.sh @@ -121,15 +121,11 @@ echo "Search Options Control Query test returned 0 items" failed=`expr $failed + 1` fi -wellknown_object_test() { - local guid=$1 - local object=$2 - local basedns - local dn - local r - local c - local n - local failed=0 +wellknown_object_test() +( + guid=$1 + object=$2 + failed=0 basedns="<WKGUID=${guid},${BASEDN}> <wkGuId=${guid},${BASEDN}>" for dn in ${basedns}; do @@ -151,7 +147,7 @@ wellknown_object_test() { done return $failed -} +) wellknown_object_test 22B70C67D56E4EFB91E9300FCA3DC1AA ForeignSecurityPrincipals st=$? |