summaryrefslogtreecommitdiff
path: root/source3/script/tests/test_registry_upgrade.sh
diff options
context:
space:
mode:
Diffstat (limited to 'source3/script/tests/test_registry_upgrade.sh')
-rwxr-xr-xsource3/script/tests/test_registry_upgrade.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/source3/script/tests/test_registry_upgrade.sh b/source3/script/tests/test_registry_upgrade.sh
index 8e012bf983..4e97153fec 100755
--- a/source3/script/tests/test_registry_upgrade.sh
+++ b/source3/script/tests/test_registry_upgrade.sh
@@ -31,11 +31,11 @@ REGPATH="HKLM\Software\Samba"
LOGDIR_PREFIX="registry_upgrade"
registry_check()
-{
- local CHECKNO="$1"
- local CHECKDIFF="$2"
- local REGVER=""
- local ALLOWEDERR="INFO: version =|Check database:|overwrite registry format version 0 with 1|no INFO/version found"
+(
+ CHECKNO="$1"
+ CHECKDIFF="$2"
+ REGVER=""
+ ALLOWEDERR="INFO: version =|Check database:|overwrite registry format version 0 with 1|no INFO/version found"
test "x$CHECKNO" = "x0" && {
REGVER="--reg-version=1"
@@ -71,7 +71,7 @@ registry_check()
}
return 0
-}
+)
registry_upgrade()
{