From cfb4eb9d8050a52a22679c3261bd3ff8cc7ab1fc Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 19 Apr 2011 11:58:50 +1000 Subject: selftest Test for socket_wrapper support in combined samba target as well --- selftest/selftest.pl | 3 +++ 1 file changed, 3 insertions(+) (limited to 'selftest/selftest.pl') 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); -- cgit