summaryrefslogtreecommitdiff
path: root/test/py/tests/test_pinmux.py
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-07-23 08:30:48 -0400
committerTom Rini <trini@konsulko.com>2021-07-23 08:30:48 -0400
commitf534d93cbf34f1d1762b04eb5680e84bef5e1fe1 (patch)
tree09a0231852e9df884a8da30db093ac1932978814 /test/py/tests/test_pinmux.py
parent4906d698d3960b70cf8000299da35412efd4f51d (diff)
parent988002dcd931e7236422e4d158c397d964ba1360 (diff)
Merge branch '2021-07-23-assorted-fixes'
- Assorted FIT, optee, pcf8575, mux, vexpress64 and distro bootcmd fixes. - Allow pinmux status to take pin names
Diffstat (limited to 'test/py/tests/test_pinmux.py')
-rw-r--r--test/py/tests/test_pinmux.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/py/tests/test_pinmux.py b/test/py/tests/test_pinmux.py
index 0cbbae000c8..b3ae2ab0240 100644
--- a/test/py/tests/test_pinmux.py
+++ b/test/py/tests/test_pinmux.py
@@ -13,9 +13,9 @@ def test_pinmux_usage_1(u_boot_console):
@pytest.mark.buildconfigspec('cmd_pinmux')
def test_pinmux_usage_2(u_boot_console):
"""Test that 'pinmux status' executed without previous "pinmux dev"
- command displays pinmux usage."""
+ command displays error message."""
output = u_boot_console.run_command('pinmux status')
- assert 'Usage:' in output
+ assert 'pin-controller device not selected' in output
@pytest.mark.buildconfigspec('cmd_pinmux')
@pytest.mark.boardspec('sandbox')