selftest: Remove unused environment variables
authorTim Beale <timbeale@catalyst.net.nz>
Wed, 13 Feb 2019 01:50:12 +0000 (14:50 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 18 Feb 2019 04:42:09 +0000 (05:42 +0100)
commitb348045955b728e88d3d261dff9996f07f01f2bb
tree6cb88e049b0e2ed08c9de9f5f52c9f59001b1e01
parentab37446230c50a71dac7e7e00baf6cbfe937f60a
selftest: Remove unused environment variables

We only really want generic environment variables. For 2+ DC
environments, we have the $SERVER and $DC_SERVER (aka PDC) variables.
However, lots of testenvs also export really specific environment
variables, e.g. VAMPIRE_2000_DC_SERVER_IP (despite that testenv being
only used for a single test case).

Previously the <testenv>_SERVER variable was used for DRS tests, but we
can avoid the need to do this now. The other variables are not used at
all.

The RODC and TRUST environment variables are still used by a few tests.
SUBDOM_DC_SERVER is only used within Samba4.pm and not exported.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
selftest/selftest.pl
selftest/target/Samba4.pm
source4/scripting/devel/selftest-vars.sh