☰
Debian Codegraph
@
26.0-2
26.0-1
/
/
examples
/
ssh
/
test_ssh.py
☽
☼
examples/ssh/test_ssh.py
code
plain
raw
symbols
SCIP
LGPL-2.1+
Copyright (C) 2016-2021 Pengutronix, Jan Luebbe <
[email protected]
>; Copyright (C) 2016-2021 Pengutronix, Rouven Czerwinski <
[email protected]
>; Copyright (C) 2016-2026 Pengutronix
debian/copyright
1
def
test_ssh
(target):
2
"""Simple test with SSHDriver directly executing a command on the DUT"""
3
ssh_driver = target.
get_driver
(
"SSHDriver"
)
4
stdout = ssh_driver.
run_check
(
"cat /proc/version"
)
5
assert
stdout