summaryrefslogtreecommitdiffstats
path: root/source/setup
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-08-31 16:51:09 +0000
committerJelmer Vernooij <jelmer@samba.org>2005-08-31 16:51:09 +0000
commit12dba8c0de782f4c3a5f574194ec974cd0322681 (patch)
treec77fb1bfa2a88f38a304552bc4f82c3cee0687bf /source/setup
parent19d09ab22fdacc176503bd9372e3b81779ff077a (diff)
downloadsamba-12dba8c0de782f4c3a5f574194ec974cd0322681.tar.gz
samba-12dba8c0de782f4c3a5f574194ec974cd0322681.tar.xz
samba-12dba8c0de782f4c3a5f574194ec974cd0322681.zip
r9834: More tests for the upgrade from Samba3
Diffstat (limited to 'source/setup')
-rwxr-xr-xsource/setup/upgrade9
1 files changed, 8 insertions, 1 deletions
diff --git a/source/setup/upgrade b/source/setup/upgrade
index 331892c3db2..8dc10caa3f7 100755
--- a/source/setup/upgrade
+++ b/source/setup/upgrade
@@ -10,6 +10,7 @@ options = GetOptions(ARGV,
"POPT_AUTOHELP",
"POPT_COMMON_SAMBA",
"POPT_COMMON_VERSION",
+ 'verify',
'targetdir=s',
'quiet', 'blank');
@@ -92,4 +93,10 @@ if (ret > 0) {
} else {
message("All OK\n");
}
-return 0;
+
+if (options.verify != undefined) {
+ message("Verifying...\n");
+ ret = upgrade_verify(subobj, samba3,paths,message);
+}
+
+return ret;