git.samba.org
/
bbaumbach
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ac4651
)
selftest Test for socket_wrapper support in combined samba target as well
author
Andrew Bartlett
<abartlet@samba.org>
Tue, 19 Apr 2011 01:58:50 +0000
(11:58 +1000)
committer
Andrew Bartlett
<abartlet@samba.org>
Tue, 19 Apr 2011 06:13:42 +0000
(16:13 +1000)
selftest/selftest.pl
patch
|
blob
|
history
diff --git
a/selftest/selftest.pl
b/selftest/selftest.pl
index fe786f841b84ec661f79afdf929dfca41ce1e54e..38d2ab75769a85821f34e2f5b7ba98583e69ad01 100755
(executable)
--- a/
selftest/selftest.pl
+++ b/
selftest/selftest.pl
@@
-482,6
+482,9
@@
sub bindir_path($$) {
}
if ($opt_target eq "samba") {
+ if ($opt_socket_wrapper and `$bindir/smbd -b | grep SOCKET_WRAPPER` eq "") {
+ die("You must include --enable-socket-wrapper when compiling Samba in order to execute 'make test'. Exiting....");
+ }
$testenv_default = "all";
require target::Samba;
$target = new Samba($bindir, \%binary_mapping, \&bindir_path, $ldap, $srcdir, $exeext);