]> git.dujemihanovic.xyz Git - u-boot.git/commit
test: do no assume hush parser in validate_empty()
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 10 Sep 2020 10:09:03 +0000 (12:09 +0200)
committerTom Rini <trini@konsulko.com>
Sat, 12 Sep 2020 14:53:01 +0000 (10:53 -0400)
commit185440ffc46f310b0f300c10804ba3cb0a7bf15a
tree20397adfefbe204c2b348e271c056620f4bcadcc
parent9a97314b5bb815151b48b867455ee428fa394902
test: do no assume hush parser in validate_empty()

The environment variable test uses function validate_empty() to check that
a variable is not defined. If the hush parser is not enabled, we cannot
refer to a variable by $var_name but only by ${var_name}.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Acked-by: Stephen Warren <swarren@nvidia.com>
test/py/tests/test_env.py