summaryrefslogtreecommitdiff
path: root/selftest
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-04-19 11:58:50 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-04-19 16:13:42 +1000
commitcfb4eb9d8050a52a22679c3261bd3ff8cc7ab1fc (patch)
treee9f3d4b866e769ae455bb2345143e404ed9bc984 /selftest
parent1ac46518a7b2009bb6ee21a84d20ee991e7a35ee (diff)
downloadsamba-cfb4eb9d8050a52a22679c3261bd3ff8cc7ab1fc.tar.gz
samba-cfb4eb9d8050a52a22679c3261bd3ff8cc7ab1fc.tar.bz2
samba-cfb4eb9d8050a52a22679c3261bd3ff8cc7ab1fc.zip
selftest Test for socket_wrapper support in combined samba target as well
Diffstat (limited to 'selftest')
-rwxr-xr-xselftest/selftest.pl3
1 files changed, 3 insertions, 0 deletions
diff --git a/selftest/selftest.pl b/selftest/selftest.pl
index fe786f841b..38d2ab7576 100755
--- 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);