summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-09-10 14:47:21 +0200
committerStefan Metzmacher <metze@samba.org>2012-09-11 10:15:23 +0200
commit5b4a7aea17ea52fe620100076a9e08959d6fc4ed (patch)
tree66b506b98380f646f78bbf4962c0d46b15a9453f
parent1d085f6eb18f6984f409ea64150a060f503b4b13 (diff)
downloadsamba-5b4a7aea17ea52fe620100076a9e08959d6fc4ed.tar.gz
samba-5b4a7aea17ea52fe620100076a9e08959d6fc4ed.tar.bz2
samba-5b4a7aea17ea52fe620100076a9e08959d6fc4ed.zip
selftest/Samba4: make use of samba-tool domain provision
metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Tue Sep 11 10:15:23 CEST 2012 on sn-devel-104
-rw-r--r--selftest/target/Samba4.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/selftest/target/Samba4.pm b/selftest/target/Samba4.pm
index 9563da642d..f1f2e17aab 100644
--- a/selftest/target/Samba4.pm
+++ b/selftest/target/Samba4.pm
@@ -525,7 +525,9 @@ sub provision_raw_prepare($$$$$$$$$$)
if (defined($ENV{PYTHON})) {
push (@provision_options, $ENV{PYTHON});
}
- push (@provision_options, "$self->{srcdir}/source4/setup/provision");
+ push (@provision_options, Samba::bindir_path($self, "samba-tool"));
+ push (@provision_options, "domain");
+ push (@provision_options, "provision");
push (@provision_options, "--configfile=$ctx->{smb_conf}");
push (@provision_options, "--host-name=$ctx->{hostname}");
push (@provision_options, "--host-ip=$ctx->{ipv4}");