mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-28 16:38:17 +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.
21 lines
463 B
Text
21 lines
463 B
Text
location: clients/tests/test-client.py:490:test_001()/2
|
||
cmd: $NMCLI
|
||
lang: pl_PL.UTF-8
|
||
returncode: 0
|
||
stdout: 310 bytes
|
||
>>>
|
||
DNS configuration:
|
||
servers: 1.2.3.4 5.6.7.8
|
||
|
||
Polecenie „nmcli device show” wyświetli pełne informacje o znanych
|
||
urządzeniach, a „nmcli connection show” wyświetli przegląd aktywnych
|
||
profili połączeń.
|
||
|
||
Strony podręcznika nmcli(1) i nmcli-examples(5) zawierają pełne informacje
|
||
o użyciu.
|
||
|
||
<<<
|
||
stderr: 0 bytes
|
||
>>>
|
||
|
||
<<<
|