summaryrefslogtreecommitdiff
path: root/test/py/tests/test_shell_basics.py
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2020-08-08 08:28:53 -0400
committerTom Rini <trini@konsulko.com>2020-08-08 08:28:53 -0400
commit626b2df302fce4bf91a240f186ba447046db4741 (patch)
treeb211041ab3bfd5876da4f6064bc7f666e0ab23c4 /test/py/tests/test_shell_basics.py
parent7d914bc76b18b644e27d0cf367e745fc2c4fe1c7 (diff)
parentacb021e48c619b49029102acc781e904c6471c86 (diff)
Merge branch '2020-08-07-misc-improvements'
- SquashFS support - Assorted bugfixes
Diffstat (limited to 'test/py/tests/test_shell_basics.py')
-rw-r--r--test/py/tests/test_shell_basics.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/py/tests/test_shell_basics.py b/test/py/tests/test_shell_basics.py
index f54f7b7425b..68a3f892f6b 100644
--- a/test/py/tests/test_shell_basics.py
+++ b/test/py/tests/test_shell_basics.py
@@ -34,11 +34,11 @@ def test_shell_semicolon_three(u_boot_console):
def test_shell_run(u_boot_console):
"""Test the "run" shell command."""
- u_boot_console.run_command('setenv foo "setenv monty 1; setenv python 2"')
+ u_boot_console.run_command('setenv foo \'setenv monty 1; setenv python 2\'')
u_boot_console.run_command('run foo')
- response = u_boot_console.run_command('echo $monty')
+ response = u_boot_console.run_command('echo ${monty}')
assert response.strip() == '1'
- response = u_boot_console.run_command('echo $python')
+ response = u_boot_console.run_command('echo ${python}')
assert response.strip() == '2'
u_boot_console.run_command('setenv foo')
u_boot_console.run_command('setenv monty')