diff --git a/bin/fm-test-run.sh b/bin/fm-test-run.sh index a4ef94500f..ec78cd0ec7 100755 --- a/bin/fm-test-run.sh +++ b/bin/fm-test-run.sh @@ -2002,6 +2002,23 @@ record_script_result() { TOTAL=$((TOTAL + 1)) } +# The fleet-home overrides a test script must never inherit from whoever +# invoked the runner. A test builds its own home; an inherited one is a +# second, invisible input that can decide a verdict - bin/fm-arm-pretool- +# check.sh, for one, reads FM_HOME as a classification input. The serial +# lane below and the parallel worker subshell further down both scrub this +# same list so a script's verdict cannot depend on the lane it was +# scheduled into. +FM_TEST_INHERITED_OVERRIDES=( + FM_HOME + FM_STATE_OVERRIDE + FM_DATA_OVERRIDE + FM_ROOT_OVERRIDE + FM_PROJECTS_OVERRIDE + FM_CONFIG_OVERRIDE + FM_BACKEND +) + # Run