]> git.dujemihanovic.xyz Git - u-boot.git/commit
tests: py: disable main_signon check for printenv cmd
authorHeiko Schocher <hs@denx.de>
Tue, 7 Jun 2016 06:31:15 +0000 (08:31 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 9 Jun 2016 17:53:05 +0000 (13:53 -0400)
commitda37f006e7c58860d03946b6387394b1ab9c13a4
treeaba1b5641a5f138d98c64eeb0822d85f42c707b1
parentbb597c0eeb7ee2f6e983577d993c76a30dd3c2b4
tests: py: disable main_signon check for printenv cmd

if CONFIG_VERSION_VARIABLE is set, the U-Boot environment
contains a "vers" variable with the current U-Boot version
string. If now "printenv" is called, test/py fails as it
detects the main_sign string, which is in this case correct.

So check only the main_sign as an error, if CONFIG_VERSION_VARIABLE
is not set.

Signed-off-by: Heiko Schocher <hs@denx.de>
test/py/tests/test_env.py