selftest: Make --include-env and --exclude-env use the base env name
authorAndrew Bartlett <abartlet@samba.org>
Fri, 21 Jul 2017 08:10:43 +0000 (20:10 +1200)
committerStefan Metzmacher <metze@samba.org>
Mon, 24 Jul 2017 01:33:01 +0000 (03:33 +0200)
commit61455ad82e293df4a094204fdf28162baad686ae
tree1282d1dd975e84cd42f04a114ddfb009236a3693
parent312947f89bf9d645ab8ee52e0c7c6ccd48354d85
selftest: Make --include-env and --exclude-env use the base env name

The code as deployed would have required (eg) '--include-env=ktest
--include-env=ktest:local' which was not done in autobuild, causing
tests to be skipped.  This patch restores the intended behaviour.

This causes 33 testsuites to run, one more test (the newly added
samba.tests.ntlmauth) than the old regex provided (before
602772159dfd1213385f42ecbf31136f57693b63).

(The regression dropped us down to matching only 7 tests).

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12922

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Mon Jul 24 03:33:01 CEST 2017 on sn-devel-144
selftest/selftest.pl