mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-24 23:58:12 +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
217 B
Text
13 lines
217 B
Text
location: clients/tests/test-client.py:497:test_001()/6
|
|
cmd: $NMCLI bogus s
|
|
lang: C
|
|
returncode: 2
|
|
stdout: 0 bytes
|
|
>>>
|
|
|
|
<<<
|
|
stderr: 68 bytes
|
|
>>>
|
|
Error: argument 'bogus' not understood. Try passing --help instead.
|
|
|
|
<<<
|