Home
last modified time | relevance | path

Searched refs:response (Results 1 – 25 of 30) sorted by relevance

12

/test/py/tests/test_android/
A Dtest_avb.py33 assert response == ''
35 assert response.find(success_str)
47 assert response == ''
79 assert response == ''
91 assert response == ''
94 assert response == 'Unlocked = 1'
109 assert response.find('read: OK')
112 assert response == ''
121 assert response.find('64 word')
131 assert response == ''
[all …]
A Dtest_abootimg.py198 assert response == "2"
201 assert response == 'v=2'
209 assert response == dtb_dump_resp
214 assert response == 'a=11f00000'
220 assert response == correct_str
224 assert response == 'v=x2'
245 assert response == "4"
248 assert response == 'v=4'
257 assert response == 'a=11f00000'
263 assert response == correct_str
[all …]
/test/py/tests/
A Dtest_gpio.py22 assert(expected_response in response)
25 assert(expected_response in response)
119 response = ubman.run_command(cmd)
144 response = ubman.run_command(cmd)
146 assert good_response in response
168 response = ubman.run_command(cmd)
170 assert good_response in response
194 assert good_response in response
199 assert good_response in response
222 assert good_response in response
[all …]
A Dtest_env.py159 assert response == ''
397 assert response == ""
400 assert response == ""
403 assert response == ""
424 assert response == "0"
428 assert response == "1"
432 assert response == "1"
502 assert response == ""
504 assert response == "1"
507 assert response == ""
[all …]
A Dtest_button.py12 response = ubman.run_command('button list; echo rc:$?')
13 assert('button1' in response)
14 assert('button2' in response)
15 assert('rc:0' in response)
28 response = ubman.run_command('button button1; echo rc:$?')
29 assert('on' in response)
30 assert('rc:0' in response)
34 assert('off' in response)
35 assert('rc:1' in response)
38 assert('not found' in response)
[all …]
A Dtest_bind.py46 assert response == ''
52 assert response == ''
60 assert response == ''
68 assert response == ''
77 assert response == ''
85 assert response == ''
93 assert response != ''
99 assert response != ''
105 assert response == ''
112 assert response == ''
[all …]
A Dtest_shell_basics.py13 response = ubman.run_command('echo hello')
14 assert response.strip() == 'hello'
20 response = ubman.run_command(cmd)
22 assert response.index('hello') < response.index('world')
30 response = ubman.run_command(cmd)
31 assert response.strip() == '123'
39 response = ubman.run_command('echo ${monty}')
40 assert response.strip() == '1'
41 response = ubman.run_command('echo ${python}')
42 assert response.strip() == '2'
A Dtest_dm.py9 response = ubman.run_command('dm tree')
10 driver_index = response.find('Driver')
15 response = ubman.run_command('dm compat')
18 if not driver in response:
32 response = ubman.run_command('dm tree -s')
33 lines = response.split('\n')[2:]
63 response = ubman.run_command('dm compat')
67 assert driver in response
72 response = ubman.run_command('dm static')
76 assert driver in response
[all …]
A Dtest_i2c.py50 response = ubman.run_command("i2c bus")
51 assert expected_response in response
57 response = ubman.run_command("i2c dev")
58 assert expected_response in response
66 assert expected_response in response
68 response = ubman.run_command("i2c probe")
69 assert expected_response in response
102 response = ubman.run_command("i2c bus")
103 assert expected_response in response
113 assert expected_response in response
[all …]
A Dtest_mmc_wr.py72 response = ubman.run_command(cmd)
74 assert good_response in response
80 response = ubman.run_command(cmd)
81 assert 'no card present' not in response
87 assert good_response in response
91 response = ubman.run_command(cmd)
93 assert good_response in response
97 response = ubman.run_command(cmd)
99 assert good_response in response
103 response = ubman.run_command(cmd)
[all …]
A Dtest_mmc_rd.py125 response = ubman.run_command(cmd)
126 assert 'no card present' not in response
132 assert good_response in response
178 response = ubman.run_command(cmd)
208 response = ubman.run_command(cmd)
210 assert good_response in response
212 assert good_response in response
214 assert good_response in response
216 assert good_response in response
266 response = ubman.run_command(cmd)
[all …]
A Dtest_bootmenu.py23 response = ubman.run_command(cmd='\x0d', wait_for_echo=False, send_nl=False)
24 assert 'ok 2' in response
28 response = ubman.run_command(cmd='\x1b\x5b\x41\x0d', wait_for_echo=False,
30 assert 'ok 1' in response
34 response = ubman.run_command(cmd='\x1b\x5b\x42\x0d', wait_for_echo=False,
36 assert 'ok 3' in response
40 response = ubman.run_command(cmd='\x1b', wait_for_echo=False, send_nl=False)
41 assert 'ok' not in response
42 assert 'rc:0' in response
A Dtest_md.py18 response = ubman.run_command('md ' + addr + ' 10')
19 assert(not (expected_response in response))
21 response = ubman.run_command('md ' + addr + ' 10')
22 assert(expected_response in response)
34 response = ubman.run_command('')
36 assert(expected_response in response)
A Dtest_optee_rpmb.py16 response = ubman.run_command('optee_rpmb write_pvalue test_variable test_value')
17 assert response == 'Wrote 11 bytes'
19 response = ubman.run_command('optee_rpmb read_pvalue test_variable 11')
20 assert response == 'Read 11 bytes, value = test_value'
A Dtest_scp03.py24 response = ubman.run_command('scp03 enable')
25 assert success_str1 in response
26 response = ubman.run_command('scp03 provision')
27 assert success_str2 in response
A Dtest_pstore.py49 response = ubman.run_command('pstore display')
50 assert('**** Dump' in response)
51 assert('**** Console' in response)
59 response = ubman.run_command('pstore display dump 1')
60 assert('Panic#2 Part1' in response)
61 assert('**** Console' not in response)
A Dtest_memtest.py46 response = ubman.run_command(
49 assert expected_response in response
63 response = ubman.run_command(
66 assert expected_response in response
A Dtest_unknown_cmd.py12 response = ubman.run_command('non_existent_cmd')
13 assert('Unknown command \'non_existent_cmd\' - try \'help\'' in response)
A Dtest_000_version.py19 response = ubman.run_command('version')
21 ubman.validate_version_string_in_text(response)
A Dtest_handoff.py13 response = ubman.run_command('sb handoff')
14 assert ('SPL handoff magic %x' % TEST_HANDOFF_MAGIC) in response
A Dtest_efi_bootmgr.py48 response = ubman.run_command(cmd = 'load', wait_for_echo=False)
49 assert 'crc32: 0x181464af' in response
58 response = ubman.run_command(cmd = 'load', wait_for_echo=False)
59 assert 'crc32: 0x811d3515' in response
A Dtest_cat.py28 response = ubman.run_command_list([ f'host bind 0 {cat_data}',
30 assert 'hello world' in response
A Dtest_xxd.py28 response = ubman.run_command_list([ f'host bind 0 {xxd_data}',
33 in response
/test/dm/
A Dfastboot.c54 &part_info, response)); in dm_test_fastboot_mmc_part()
56 &part_info, response)); in dm_test_fastboot_mmc_part()
62 &part_info, response)); in dm_test_fastboot_mmc_part()
67 &part_info, response)); in dm_test_fastboot_mmc_part()
69 &part_info, response)); in dm_test_fastboot_mmc_part()
71 &part_info, response)); in dm_test_fastboot_mmc_part()
73 &part_info, response)); in dm_test_fastboot_mmc_part()
75 &part_info, response)); in dm_test_fastboot_mmc_part()
77 &part_info, response)); in dm_test_fastboot_mmc_part()
79 &part_info, response)); in dm_test_fastboot_mmc_part()
[all …]
/test/py/tests/test_semihosting/
A Dtest_hostfs.py16 response = ubman.run_command(
18 assert '11 bytes read' in response
20 response = ubman.run_command(
22 assert '==> 60cfccfc' in response
27 response = ubman.run_command(
29 assert '4 bytes read' in response
31 response = ubman.run_command(
33 assert '==> e29063ea' in response

Completed in 34 milliseconds

12