$testenv_default = "member";
require target::Samba3;
$target = new Samba3($bindir);
+} elsif ($opt_target eq "samba34") {
+ 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 = "franky_dc";
+ require target::Samba34;
+ $target = new Samba34($bindir);
} elsif ($opt_target eq "win") {
die("Windows tests will not run with socket wrapper enabled.")
if ($opt_socket_wrapper);