summaryrefslogtreecommitdiff
path: root/selftest/selftest.pl
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2010-02-19 15:56:30 +1100
committerAndrew Bartlett <abartlet@samba.org>2010-02-19 16:32:49 +1100
commita8b2088a0eb6cd5b8f9a7fba276ca31418a7989a (patch)
tree1fab0844653fe68b31782111aaca6bdf4aac1031 /selftest/selftest.pl
parente4523e3c8f68752da65bedd3c1559c78b3be67a2 (diff)
downloadsamba-a8b2088a0eb6cd5b8f9a7fba276ca31418a7989a.tar.gz
samba-a8b2088a0eb6cd5b8f9a7fba276ca31418a7989a.tar.bz2
samba-a8b2088a0eb6cd5b8f9a7fba276ca31418a7989a.zip
s4:selftest Add infrastructure for testing against an RPC proxy
This also changes the 'testenv' code to use a new environment 'all' (we may wish to make other complex tests depend on this in future), and exports more names in more namespaces. Andrew Bartlett
Diffstat (limited to 'selftest/selftest.pl')
-rwxr-xr-xselftest/selftest.pl14
1 files changed, 13 insertions, 1 deletions
diff --git a/selftest/selftest.pl b/selftest/selftest.pl
index ba66049616..ea09c269e7 100755
--- a/selftest/selftest.pl
+++ b/selftest/selftest.pl
@@ -457,7 +457,7 @@ my $target;
my $testenv_default = "none";
if ($opt_target eq "samba4") {
- $testenv_default = "member";
+ $testenv_default = "all";
require target::Samba4;
$target = new Samba4($bindir, $ldap, "$srcdir/setup", $exeext);
} elsif ($opt_target eq "samba3") {
@@ -729,6 +729,18 @@ my @exported_envvars = (
"DC_NETBIOSNAME",
"DC_NETBIOSALIAS",
+ # domain controller stuff
+ "MEMBER_SERVER",
+ "MEMBER_SERVER_IP",
+ "MEMBER_NETBIOSNAME",
+ "MEMBER_NETBIOSALIAS",
+
+ # domain controller stuff
+ "RPC_PROXY_SERVER",
+ "RPC_PROXY_SERVER_IP",
+ "RPC_PROXY_NETBIOSNAME",
+ "RPC_PROXY_NETBIOSALIAS",
+
# server stuff
"SERVER",
"SERVER_IP",