]> git.dujemihanovic.xyz Git - u-boot.git/commit
test: py: test_shell_run() with CONFIG_HUSH_PARSER=n
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Wed, 5 Aug 2020 16:31:42 +0000 (18:31 +0200)
committerTom Rini <trini@konsulko.com>
Sat, 8 Aug 2020 02:31:32 +0000 (22:31 -0400)
commitacb021e48c619b49029102acc781e904c6471c86
treeb211041ab3bfd5876da4f6064bc7f666e0ab23c4
parentcc886253704424f2a332dade72dc1853e78bca04
test: py: test_shell_run() with CONFIG_HUSH_PARSER=n

The hush parser not enabled for some boards, e.g.
sipeed_maix_bitm_defconfig.

With CONFIG_HUSH_PARSER=n a double quotation mark is not interpreted as the
beginning of a string. Use a single quotation mark instead.

Furthermore without the hush parser variables have to be referenced as
${varname}. Add the missing braces.

Reported-by: Sean Anderson <seanga2@gmail.com>
Fixes: 8b86c609b860 ("test/py: add test of basic shell functionality")
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
test/py/tests/test_shell_basics.py