mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-20 00:58:09 +02:00
Add a test which runs nmcli against our stub NetworkManager service and compares the output. The output formats of nmcli are complicated and not easily understood. For example how --mode tabular|multiline interacts with selecting output-fields (--fields) and output modes ([default]|--terse|--pretty). Also, there are things like `nmcli connection show --order $FIELD_SPEC`. We need unit tests to ensure that we don't change the output accidentally.
13 lines
171 B
Text
13 lines
171 B
Text
location: clients/tests/test-client.py:495:test_001()/5
|
|
cmd: $NMCLI c s
|
|
lang: C
|
|
returncode: 0
|
|
stdout: 26 bytes
|
|
>>>
|
|
NAME UUID TYPE DEVICE
|
|
|
|
<<<
|
|
stderr: 0 bytes
|
|
>>>
|
|
|
|
<<<
|