summaryrefslogtreecommitdiff
path: root/source4/setup
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-08-31 16:51:09 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:36:17 -0500
commit0712cbdab4c397b9f74fcd681f40df9c9c2c59a8 (patch)
tree05a6e0151391ed749c6ea51c254747ac34c78a55 /source4/setup
parent52bcf4c5a3a371e13530fe83c8b4ca06dad10b8f (diff)
downloadsamba-0712cbdab4c397b9f74fcd681f40df9c9c2c59a8.tar.gz
samba-0712cbdab4c397b9f74fcd681f40df9c9c2c59a8.tar.bz2
samba-0712cbdab4c397b9f74fcd681f40df9c9c2c59a8.zip
r9834: More tests for the upgrade from Samba3
(This used to be commit d2db164d6f674cada470e871c558c75f98244141)
Diffstat (limited to 'source4/setup')
-rwxr-xr-xsource4/setup/upgrade9
1 files changed, 8 insertions, 1 deletions
diff --git a/source4/setup/upgrade b/source4/setup/upgrade
index 331892c3db..8dc10caa3f 100755
--- a/source4/setup/upgrade
+++ b/source4/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;