test: Fix bootm_test_subst_var() running independently
authorSimon Glass <sjg@chromium.org>
Sat, 6 Aug 2022 23:51:46 +0000 (17:51 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 12 Sep 2022 22:06:36 +0000 (18:06 -0400)
commit44384c70f9e93faa1a494bbf96a9b6c273a996ca
tree51f4203ff9192e478a133040e2ca41d3d9956a83
parent2aa11884678654a1bffc20c8ec11fa0fae163bb2
test: Fix bootm_test_subst_var() running independently

This test relies on the silent_linux env variable being set. Add this
to the code so it can run without relying on other bootm tests having been
run first.

Signed-off-by: Simon Glass <sjg@chromium.org>
test/bootm.c