mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-03-21 05:10:40 +01:00
clients/tests: add test for (invalid) call nmcli dev s eth0
This commit is contained in:
parent
204256149c
commit
7751c2fbd0
2 changed files with 435 additions and 391 deletions
File diff suppressed because it is too large
Load diff
|
|
@ -962,6 +962,10 @@ class TestNmcli(NmTestBase):
|
|||
self.call_nmcli_l(['-f', 'ALL', 'dev', 'status'],
|
||||
replace_stdout = replace_stdout)
|
||||
|
||||
# test invalid call ('s' abbrevates 'status' and not 'show'
|
||||
self.call_nmcli_l(['-f', 'ALL', 'dev', 's', 'eth0'],
|
||||
replace_stdout = replace_stdout)
|
||||
|
||||
self.call_nmcli_l(['-f', 'ALL', 'dev', 'show', 'eth0'],
|
||||
replace_stdout = replace_stdout)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue