selftest: Fail testsuite on unknown environment
authorJamie McClymont <jamiemcclymont@catalyst.net.nz>
Tue, 13 Feb 2018 03:58:26 +0000 (16:58 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Sat, 24 Feb 2018 09:54:07 +0000 (10:54 +0100)
commit3b0a940c39e94f57457fd612721b1296d9752e57
treed4388792960b878e8a6bf75a1c695a72de9814c8
parent5ad5e7966f555b1d2b39d276646934a2cd2535e6
selftest: Fail testsuite on unknown environment

The status quo was that tests in typo'd/unknown environments would be skipped.
This was a side effect of the mechanism by which samba3 tests were run, which
has now been changed.

For an example of this being a problem in the past, see commit 523bd03f (which
fixes an issue I noticed when reading subunit logs, and which did not fail the
test).

Signed-off-by: Jamie McClymont <jamiemcclymont@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
selftest/selftest.pl