summaryrefslogtreecommitdiff
path: root/selftest/target
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2011-06-04 08:20:54 +1000
committerAndrew Tridgell <tridge@samba.org>2011-06-06 12:26:11 +1000
commit0e1d7eb429a3c6b34ed659f86b8d7a92434acd37 (patch)
tree39c762cfea9a1273e3dc234d7350661a2feca819 /selftest/target
parentdc1e6109c8bcc21831defd443fcf42427706c642 (diff)
downloadsamba-0e1d7eb429a3c6b34ed659f86b8d7a92434acd37.tar.gz
samba-0e1d7eb429a3c6b34ed659f86b8d7a92434acd37.tar.bz2
samba-0e1d7eb429a3c6b34ed659f86b8d7a92434acd37.zip
s4-testparm: testparm is now part of samba_tool
Diffstat (limited to 'selftest/target')
-rw-r--r--selftest/target/Samba4.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/selftest/target/Samba4.pm b/selftest/target/Samba4.pm
index d27ee4190a..49bab371fc 100644
--- a/selftest/target/Samba4.pm
+++ b/selftest/target/Samba4.pm
@@ -658,7 +658,7 @@ nogroup:x:65534:nobody
my $configuration = "--configfile=$ctx->{smb_conf}";
#Ensure the config file is valid before we start
- my $testparm = $self->scriptdir_path("bin/testparm");
+ my $testparm = Samba::bindir_path($self, "samba-tool") . " testparm";
if (system("$testparm $configuration -v --suppress-prompt >/dev/null 2>&1") != 0) {
system("$testparm -v --suppress-prompt $configuration >&2");
warn("Failed to create a valid smb.conf configuration $testparm!");