git.samba.org
/
nivanova
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ea068d
)
selftest: skip plugin_s4_dc if we do not have ADS
author
Andrew Bartlett
<abartlet@samba.org>
Thu, 16 Feb 2012 04:12:49 +0000
(15:12 +1100)
committer
Andrew Bartlett
<abartlet@samba.org>
Thu, 16 Feb 2012 04:21:10 +0000
(15:21 +1100)
selftest/target/Samba4.pm
patch
|
blob
|
history
diff --git
a/selftest/target/Samba4.pm
b/selftest/target/Samba4.pm
index 87964a265c3561188b77cb48940f4e79ebfa1f19..73b73cab082389a129488a8a9b57cc6e3f2ffa72 100644
(file)
--- a/
selftest/target/Samba4.pm
+++ b/
selftest/target/Samba4.pm
@@
-1662,6
+1662,11
@@
sub setup_plugin_s4_dc($$)
{
my ($self, $path) = @_;
+ # If we didn't build with ADS, pretend this env was never available
+ if (not $self->{target3}->have_ads()) {
+ return "UNKNOWN";
+ }
+
my $env = $self->provision_plugin_s4_dc($path);
unless ($env) {
return undef;