test-lib.sh: fully construct UNSET_VARS before test-lib-main.sh
commitae19a916b6e80049a93c185dbface2e55119113d
authorKyle J. McKay <mackyle@gmail.com>
Mon, 19 Mar 2018 03:57:18 +0000 (18 20:57 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Mon, 19 Mar 2018 03:57:18 +0000 (18 20:57 -0700)
tree0b444823e804c3b284546dc597bb52a28d74eac6
parent311756ad56a7f7237e72fb279c0af21f82d70f6b
test-lib.sh: fully construct UNSET_VARS before test-lib-main.sh

When constructing the list of variables that need to be unset by
the cache script, be sure to fully construct the list before first
running test_lib_main_init_generic to pick up boilerplate defines.

Otherwise the list ends up being inaccurate as test_lib_main_init_generic
modifies a number of variables.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
t/test-lib.sh