mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-28 21:18:15 +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
213 B
Text
13 lines
213 B
Text
location: clients/tests/test-client.py:492:test_001()/3
|
|
cmd: $NMCLI -f AP -mode multiline -p d show wlan0
|
|
lang: C
|
|
returncode: 10
|
|
stdout: 0 bytes
|
|
>>>
|
|
|
|
<<<
|
|
stderr: 33 bytes
|
|
>>>
|
|
Error: Device 'wlan0' not found.
|
|
|
|
<<<
|