forked from OERV-BSP/u-boot
test: sharpen button label unit test
Using different strings for the device tree node labels and the label property of buttons sharpens the button label unit test. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Philippe Reynes <philippe.reynes@softathome.com>
This commit is contained in:
committed by
Tom Rini
parent
9ea0a1ee93
commit
39916bb45f
@@ -11,7 +11,7 @@ def test_button_exit_statuses(u_boot_console):
|
||||
expected_response = 'rc:0'
|
||||
response = u_boot_console.run_command('button list; echo rc:$?')
|
||||
assert(expected_response in response)
|
||||
response = u_boot_console.run_command('button summer; echo rc:$?')
|
||||
response = u_boot_console.run_command('button button1; echo rc:$?')
|
||||
assert(expected_response in response)
|
||||
|
||||
expected_response = 'rc:1'
|
||||
|
||||
Reference in New Issue
Block a user