mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-04 01:18:08 +02:00
The developer can re-generate .expected files with $ NM_TEST_REGENERATE=1 ./clients/tests/test-client.py Note that these files are also dist-ed, so that the tests also work from a source-tarball. For that, we need to add them to EXTRA_DIST. Previously, this was done manually in the base Makefile.am file. This was cumbersome, because when adding a new test, the developer would need to manually add the files. Now, let the test (with NM_TEST_REGENERATE=1) also generate a makefile part.
13 lines
277 B
Text
13 lines
277 B
Text
location: clients/tests/test-client.py:663:test_003()/24
|
|
cmd: $NMCLI con up ethernet ifname eth1
|
|
lang: C
|
|
returncode: 0
|
|
stdout: 106 bytes
|
|
>>>
|
|
Connection successfully activated (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/2)
|
|
|
|
<<<
|
|
stderr: 0 bytes
|
|
>>>
|
|
|
|
<<<
|