Home
last modified time | relevance | path

Searched refs:shell (Results 1 – 25 of 129) sorted by relevance

123456

/tests/net/lib/lwm2m/interop/pytest/
A Dtest_bootstrap.py47 shell.exec_command('lwm2m create 1/2')
48 shell.exec_command('lwm2m read 1/2/0')
49 retval = int(shell.get_filtered_output(shell.exec_command('retval'))[0])
53 shell.exec_command('lwm2m read 1/2/0')
54 retval = int(shell.get_filtered_output(shell.exec_command('retval'))[0])
67 shell.exec_command('lwm2m stop')
72 shell.exec_command('lwm2m stop')
74 shell.exec_command("lwm2m delete 1/0")
83 shell.exec_command('lwm2m stop')
98 lines = shell.get_filtered_output(shell.exec_command('lwm2m read 0/0/0 -s'))
[all …]
A Dconftest.py41 self.shell = shell
48 self.shell.exec_command('lwm2m update')
110 shell.exec_command('lwm2m write 0/0/1 -b 0')
113 shell.exec_command('lwm2m create 1/0')
117 shell.exec_command(f'lwm2m start {ep} -b 0')
120 yield Endpoint(ep, shell)
123 shell.exec_command('lwm2m stop')
160 yield Endpoint(ep, shell)
162 shell.exec_command('lwm2m stop')
189 shell.exec_command('lwm2m create /16/0')
[all …]
A Dtest_lwm2m.py35 lines = shell.get_filtered_output(shell.exec_command('lwm2m read 1/0/1 -u32'))
53 shell.exec_command('lwm2m stop')
55 shell.exec_command(f'lwm2m start {endpoint}')
60 shell.exec_command('lwm2m update')
70 lines = shell.get_filtered_output(shell.exec_command('lwm2m read 1/0/1 -u32'))
156 lines = shell.get_filtered_output(shell.exec_command('lwm2m read 1/0/0 -u16'))
251 lines = shell.get_filtered_output(shell.exec_command('lwm2m read 1/0/1 -u32'))
268 lines = shell.get_filtered_output(shell.exec_command('lwm2m read 1/0/1 -u32'))
415 lines = shell.get_filtered_output(shell.exec_command('lwm2m read 1/0/0 -u16'))
636 lines = shell.get_filtered_output(shell.exec_command('lwm2m send /3/0'))
[all …]
A Dtest_observe_attributes.py48 shell.exec_command('lwm2m write /3/0/7/0 -u32 3000')
54 shell.exec_command('lwm2m write /3/0/7/0 -u32 3100')
61 shell.exec_command('lwm2m write /3/0/7/0 -u32 3500')
81 shell.exec_command('lwm2m write /3/0/7/0 -u32 3000')
87 shell.exec_command('lwm2m write /3/0/7/0 -u32 4100')
94 shell.exec_command('lwm2m write /3/0/7/0 -u32 4400')
100 shell.exec_command('lwm2m write /3/0/7/0 -u32 4300')
107 shell.exec_command('lwm2m write /3/0/7/0 -u32 4100')
126 shell.exec_command('lwm2m write /3/0/7/0 -u32 3200')
132 shell.exec_command('lwm2m write /3/0/7/0 -u32 3100')
[all …]
A Dtest_blockwise.py25 def test_blockwise_1(shell: Shell, dut: DeviceAdapter, leshan: Leshan, endpoint: str):
46 def test_blockwise_2(shell: Shell, dut: DeviceAdapter, leshan: Leshan, endpoint: str):
59 shell.exec_command('lwm2m update')
77 def test_blockwise_3(shell: Shell, dut: DeviceAdapter, leshan: Leshan, endpoint: str):
80 shell.exec_command('lwm2m create /19/0')
94 lines = shell.get_filtered_output(shell.exec_command('lwm2m read /19/0/0/0 -crc32'))
107 shell.exec_command('lwm2m delete /19/0')
109 def test_blockwise_4(shell: Shell, dut: DeviceAdapter, leshan: Leshan, endpoint: str):
112 shell.exec_command('lwm2m create /19/0')
127 shell.exec_command('lwm2m send /19/0')
[all …]
/tests/ztest/ztest_param/pytest/
A Dtest_parameters.py7 def test_run_all_shuffled(shell: Shell):
8 lines = shell.exec_command('ztest shuffle -c 1 -s 1')
15 def test_run_testcase_once(shell: Shell):
16 lines = shell.exec_command('ztest run-testcase ztest_params::test_dummy')
22 lines = shell.exec_command('ztest run-testcase ztest_params::test_dummy -r 2')
28 def test_run_testsuite_twice(shell: Shell):
29 lines = shell.exec_command('ztest run-testsuite ztest_params -r 2')
35 def test_run_testsuite_once(shell: Shell):
36 lines = shell.exec_command('ztest run-testsuite ztest_params')
41 def test_run_testcase_with_int_parameter(shell: Shell):
[all …]
/tests/bluetooth/classic/smp_io_cap/pytest/
A Dtest_smp.py437 shell,
449 shell,
461 shell,
473 shell,
485 shell,
497 shell,
509 shell,
521 shell,
533 shell,
545 shell,
[all …]
/tests/bluetooth/classic/l2cap_c/pytest/
A Dtest_l2cap_client.py63 shell,
70 shell,
115 shell,
154 shell,
198 shell,
245 shell,
252 shell,
298 shell,
340 shell,
389 shell,
[all …]
A Dconftest.py17 def fixture_initialize(request, shell: Shell, dut: DeviceAdapter):
30 shell.exec_command("bt init")
44 shell.exec_command("br pscan on")
45 shell.exec_command("br iscan on")
48 shell.exec_command(f"l2cap_br register {format(L2CAP_SERVER_PSM, 'x')}")
/tests/bluetooth/classic/smp_general/pytest/
A Dtest_smp.py548 shell,
562 shell,
576 shell,
1042 shell,
1847 shell,
1957 shell, argument
2109 shell,
2124 shell,
2138 shell,
2389 shell,
[all …]
/tests/subsys/shell/shell/
A Dtestcase.yaml2 tags: shell
4 shell.core:
11 shell.min:
18 shell.min_cmds:
25 shell.min_cmds_all:
46 shell.min_colors:
53 shell.min_help:
60 shell.min_help_all:
67 shell.min_history:
81 shell.min_metakeys:
[all …]
/tests/bluetooth/classic/smp_sc_only/pytest/
A Dtest_smp.py105 shell.exec_command(cmd)
248 shell,
259 shell,
270 shell,
281 shell,
336 lines = shell.exec_command(
455 shell,
466 shell,
477 shell,
488 shell,
[all …]
/tests/bluetooth/classic/smp_bonding/pytest/
A Dtest_smp.py96 async def send_cmd_to_iut(shell, dut, cmd, parse=None): argument
97 shell.exec_command(cmd)
108 async def bumble_acl_connect(shell, dut, device, target_address): argument
143 await send_cmd_to_iut(shell, dut, "bt clear all", None)
144 await send_cmd_to_iut(shell, dut, "br clear all", None)
145 await send_cmd_to_iut(shell, dut, "bt auth none", None)
181 lines = shell.exec_command("br bonds")
209 await send_cmd_to_iut(shell, dut, "bt clear all", None)
247 lines = shell.exec_command("br bonds")
319 lines = shell.exec_command("br bonds")
[all …]
/tests/bluetooth/classic/gap_s/pytest/
A Dtest_gap_s.py78 shell.exec_command(cmd)
126 async def tc_gap_s_1(hci_port, shell, dut, address) -> None: argument
150 await send_cmd_to_iut(shell, dut, "br pscan off")
151 await send_cmd_to_iut(shell, dut, "br iscan off")
156 await send_cmd_to_iut(shell, dut, "br pscan off")
159 await send_cmd_to_iut(shell, dut, "br iscan off")
195 async def tc_gap_s_2(hci_port, shell, dut, address) -> None: argument
224 await send_cmd_to_iut(shell, dut, "br pscan on")
255 async def tc_gap_s_3(hci_port, shell, dut, address) -> None: argument
285 await send_cmd_to_iut(shell, dut, "br pscan on")
[all …]
/tests/drivers/stepper/shell/src/
A Dmain.c32 const struct shell *sh = shell_backend_dummy_get_ptr(); in stepper_shell_setup()
45 const struct shell *sh = shell_backend_dummy_get_ptr(); in ZTEST()
54 const struct shell *sh = shell_backend_dummy_get_ptr(); in ZTEST()
63 const struct shell *sh = shell_backend_dummy_get_ptr(); in ZTEST()
72 const struct shell *sh = shell_backend_dummy_get_ptr(); in ZTEST()
82 const struct shell *sh = shell_backend_dummy_get_ptr(); in ZTEST()
92 const struct shell *sh = shell_backend_dummy_get_ptr(); in ZTEST()
100 const struct shell *sh = shell_backend_dummy_get_ptr(); in ZTEST()
108 const struct shell *sh = shell_backend_dummy_get_ptr(); in ZTEST()
118 const struct shell *sh = shell_backend_dummy_get_ptr(); in ZTEST()
[all …]
/tests/bluetooth/classic/rfcomm_c/pytest/
A Dtest_rfcomm_c.py93 shell_cmd_ret = shell.exec_command(cmd)
241 async def tc_rfcomm_c_1(hci_port, shell, dut, address, snoop_file) -> None: argument
325 await send_cmd_to_iut(shell, dut, "rfcomm_s send 7 1")
338 async def tc_rfcomm_c_2(hci_port, shell, dut, address, snoop_file) -> None: argument
398 await send_cmd_to_iut(shell, dut, "rfcomm_s send 9 1")
403 await send_cmd_to_iut(shell, dut, "rfcomm_s send 7 1")
427 async def tc_rfcomm_c_3(hci_port, shell, dut, address, snoop_file) -> None: argument
577 await send_cmd_to_iut(shell, dut, "rfcomm_s send 9 1")
880 await send_cmd_to_iut(shell, dut, "rfcomm_s send 9 1")
944 await send_cmd_to_iut(shell, dut, "bt disconnect", "disconnect")
[all …]
/tests/bluetooth/classic/gap_c/pytest/
A Dtest_gap_c.py78 shell.exec_command(cmd)
142 async def tc_gap_c_1(hci_port, shell, dut, address) -> None: argument
166 shell.exec_command("bt disconnect")
193 async def tc_gap_c_2(hci_port, shell, dut, address) -> None: argument
218 shell.exec_command("bt disconnect")
247 async def tc_gap_c_3(hci_port, shell, dut, address) -> None: argument
272 shell.exec_command("bt disconnect")
296 async def tc_gap_c_4(hci_port, shell, dut, address) -> None: argument
320 shell.exec_command("bt disconnect")
375 shell.exec_command("bt disconnect")
[all …]
/tests/bluetooth/classic/smp_key_persist/pytest/
A Dtest_smp.py122 exec_cmd_lines = shell.exec_command(cmd, timeout=20)
155 await send_cmd_to_iut(shell, dut, "br clear all")
156 await send_cmd_to_iut(shell, dut, "bt auth none")
157 await send_cmd_to_iut(shell, dut, "bt auth status")
189 async def sm_test_reboot(shell, dut) -> None: argument
205 await send_cmd_to_iut(shell, dut, "br pscan on")
206 await send_cmd_to_iut(shell, dut, "br iscan on")
277 device, shell, dut, bumble_address, iut_address
324 await sm_test_reboot(shell, dut)
371 await sm_test_reboot(shell, dut)
[all …]
/tests/bluetooth/classic/l2cap_s/pytest/
A Dtest_l2cap_server.py74 shell,
268 shell,
479 shell,
485 shell,
548 shell,
554 shell,
665 shell,
671 shell,
771 shell,
819 shell,
[all …]
A Dconftest.py17 def fixture_initialize(request, shell: Shell, dut: DeviceAdapter):
30 shell.exec_command("bt init")
44 shell.exec_command("br pscan on")
45 shell.exec_command("br iscan on")
48 shell.exec_command(f"l2cap_br register {format(L2CAP_SERVER_PSM, 'x')}")
/tests/bluetooth/shell/
A Dtestcase.yaml8 bluetooth.shell.main:
32 bluetooth.shell.subrating:
55 bluetooth.shell.shell_br:
67 bluetooth.shell.no_privacy:
71 bluetooth.shell.log_defaults:
75 bluetooth.shell.bt_ctlr_dtm:
84 bluetooth.shell.audio:
100 bluetooth.shell.audio.no_logs:
106 bluetooth.shell.audio.no_vcs:
436 - EXTRA_CONF_FILE=snippets/xterm-native-shell/xterm-native-shell.conf
[all …]
A Drun-bsim.sh23 default_image=${ZEPHYR_BASE}/tests/bluetooth/shell/build/zephyr/zephyr.exe
33 ./bs_device_handbrake -s=shell-sim -r=10 -d=0 &
38 $image -s=shell-sim -d=$dev_id -RealEncryption=1 -rs=$dev_id -attach_uart -wait_uart &
43 $BSIM_OUT_PATH/bin/bs_2G4_phy_v1 -s=shell-sim -D=$((num_devices+=1))
/tests/bluetooth/classic/rfcomm_s/pytest/
A Dtest_rfcomm_s.py88 shell_cmd_ret = shell.exec_command(cmd)
333 await send_cmd_to_iut(shell, dut, "rfcomm_s send 9 1")
341 await send_cmd_to_iut(shell, dut, "rfcomm_s send 9 1")
352 await send_cmd_to_iut(shell, dut, "rfcomm_s disconnect 9")
506 await send_cmd_to_iut(shell, dut, "rfcomm_s send 9 1")
514 await send_cmd_to_iut(shell, dut, "rfcomm_s send 9 1")
525 await send_cmd_to_iut(shell, dut, "rfcomm_s disconnect 9")
531 await send_cmd_to_iut(shell, dut, "rfcomm_s disconnect 7")
598 await send_cmd_to_iut(shell, dut, "rfcomm_s send 9 1")
677 await send_cmd_to_iut(shell, dut, "rfcomm_s send 9 1")
[all …]
/tests/bluetooth/shell/snippets/xterm-native-shell/
A Dsnippet.yml1 name: xterm-native-shell
3 EXTRA_CONF_FILE: xterm-native-shell.conf
4 EXTRA_DTC_OVERLAY_FILE: xterm-native-shell.overlay
/tests/drivers/can/host/pytest/
A Dconftest.py39 def fixture_chosen(shell: Shell) -> str:
42 lines = shell.get_filtered_output(shell.exec_command('can_host chosen'))
55 def can_dut(dut: DeviceAdapter, shell: Shell, chosen: str) -> BusABC:
57 bus = CanShellBus(dut, shell, chosen)

Completed in 97 milliseconds

123456