NetworkManager/clients/tests/test-client.check-on-disk/test_002-001.expected
Thomas Haller d4093a3a2c clients/tests: add python test script for nmcli tests
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.
2018-05-11 16:51:20 +02:00

17 lines
359 B
Text

location: clients/tests/test-client.py:502:test_002()/1
cmd: $NMCLI d
lang: C
returncode: 0
stdout: 215 bytes
>>>
DEVICE TYPE STATE CONNECTION
eth0 ethernet unavailable --
wlan0 wifi unavailable --
wlan1 wifi unavailable --
wlan1 wifi unavailable --
<<<
stderr: 0 bytes
>>>
<<<