NetworkManager/clients/tests/test-client.check-on-disk
Thomas Haller 68fa68b3ed cli: rework printing of general active-connection properties
use nmc_print() for the job.

Also, localize non-terse output.

Also, fix bug with

  $ nmcli c s /org/freedesktop/NetworkManager/ActiveConnection/1

if active connection #1 is invisible to the user.

Also, previously, fill_output_active_connection() wrongly tries to
write to a field that doesn't exist:

  set_val_strc (arr, 13-idx_start, s_con ? nm_setting_connection_get_slave_type (s_con) : NULL);
2018-06-01 16:03:23 +02:00
..
Makefile.am clients/tests: add test for showing connection's active state 2018-06-01 16:03:23 +02:00
test_001-001.expected clients/tests: run nmcli commands in parallel 2018-05-28 16:24:22 +02:00
test_001-002.expected clients/tests: run nmcli commands in parallel 2018-05-28 16:24:22 +02:00
test_001-003.expected clients/tests: run nmcli commands in parallel 2018-05-28 16:24:22 +02:00
test_001-004.expected clients/tests: run nmcli commands in parallel 2018-05-28 16:24:22 +02:00
test_001-005.expected clients/tests: run nmcli commands in parallel 2018-05-28 16:24:22 +02:00
test_001-006.expected clients/tests: run nmcli commands in parallel 2018-05-28 16:24:22 +02:00
test_001-007.expected clients/tests: run nmcli commands in parallel 2018-05-28 16:24:22 +02:00
test_001-008.expected clients/tests: run nmcli commands in parallel 2018-05-28 16:24:22 +02:00
test_001-009.expected clients/tests: run nmcli commands in parallel 2018-05-28 16:24:22 +02:00
test_001-010.expected clients/tests: run nmcli commands in parallel 2018-05-28 16:24:22 +02:00
test_001-011.expected clients/tests: run nmcli commands in parallel 2018-05-28 16:24:22 +02:00
test_001-012.expected clients/tests: run nmcli commands in parallel 2018-05-28 16:24:22 +02:00
test_001-013.expected clients/tests: run nmcli commands in parallel 2018-05-28 16:24:22 +02:00
test_001-014.expected clients/tests: run nmcli commands in parallel 2018-05-28 16:24:22 +02:00
test_001-015.expected clients/tests: run nmcli commands in parallel 2018-05-28 16:24:22 +02:00
test_001-016.expected clients/tests: run nmcli commands in parallel 2018-05-28 16:24:22 +02:00
test_001-017.expected clients/tests: run nmcli commands in parallel 2018-05-28 16:24:22 +02:00
test_001-018.expected clients/tests: run nmcli commands in parallel 2018-05-28 16:24:22 +02:00
test_001-019.expected clients/tests: run nmcli commands in parallel 2018-05-28 16:24:22 +02:00
test_001-020.expected clients/tests: run nmcli commands in parallel 2018-05-28 16:24:22 +02:00
test_001-021.expected clients/tests: run nmcli commands in parallel 2018-05-28 16:24:22 +02:00
test_001-022.expected clients/tests: run nmcli commands in parallel 2018-05-28 16:24:22 +02:00
test_001-023.expected clients/tests: run nmcli commands in parallel 2018-05-28 16:24:22 +02:00
test_001-024.expected clients/tests: run nmcli commands in parallel 2018-05-28 16:24:22 +02:00
test_001-025.expected clients/tests: run nmcli commands in parallel 2018-05-28 16:24:22 +02:00
test_001-026.expected clients/tests: run nmcli commands in parallel 2018-05-28 16:24:22 +02:00
test_002-001.expected clients/tests: run nmcli commands in parallel 2018-05-28 16:24:22 +02:00
test_002-002.expected clients/tests: run nmcli commands in parallel 2018-05-28 16:24:22 +02:00
test_002-003.expected clients/tests: run nmcli commands in parallel 2018-05-28 16:24:22 +02:00
test_002-004.expected clients/tests: run nmcli commands in parallel 2018-05-28 16:24:22 +02:00
test_002-005.expected clients/tests: run nmcli commands in parallel 2018-05-28 16:24:22 +02:00
test_002-006.expected clients/tests: run nmcli commands in parallel 2018-05-28 16:24:22 +02:00
test_002-007.expected clients/tests: run nmcli commands in parallel 2018-05-28 16:24:22 +02:00
test_002-008.expected clients/tests: run nmcli commands in parallel 2018-05-28 16:24:22 +02:00
test_002-009.expected clients/tests: run nmcli commands in parallel 2018-05-28 16:24:22 +02:00
test_002-010.expected clients/tests: run nmcli commands in parallel 2018-05-28 16:24:22 +02:00
test_002-011.expected clients/tests: run nmcli commands in parallel 2018-05-28 16:24:22 +02:00
test_002-012.expected clients/tests: run nmcli commands in parallel 2018-05-28 16:24:22 +02:00
test_002-013.expected clients/tests: run nmcli commands in parallel 2018-05-28 16:24:22 +02:00
test_002-014.expected clients/tests: run nmcli commands in parallel 2018-05-28 16:24:22 +02:00
test_002-015.expected clients/tests: run nmcli commands in parallel 2018-05-28 16:24:22 +02:00
test_002-016.expected clients/tests: run nmcli commands in parallel 2018-05-28 16:24:22 +02:00
test_002-017.expected clients/tests: run nmcli commands in parallel 2018-05-28 16:24:22 +02:00
test_002-018.expected clients/tests: run nmcli commands in parallel 2018-05-28 16:24:22 +02:00
test_002-019.expected clients/tests: run nmcli commands in parallel 2018-05-28 16:24:22 +02:00
test_002-020.expected clients/tests: run nmcli commands in parallel 2018-05-28 16:24:22 +02:00
test_002-021.expected clients/tests: run nmcli commands in parallel 2018-05-28 16:24:22 +02:00
test_002-022.expected clients/tests: run nmcli commands in parallel 2018-05-28 16:24:22 +02:00
test_002-023.expected clients/tests: run nmcli commands in parallel 2018-05-28 16:24:22 +02:00
test_002-024.expected clients/tests: run nmcli commands in parallel 2018-05-28 16:24:22 +02:00
test_003-001.expected clients/tests: run nmcli commands in parallel 2018-05-28 16:24:22 +02:00
test_003-002.expected clients/tests: run nmcli commands in parallel 2018-05-28 16:24:22 +02:00
test_003-003.expected clients/tests: run nmcli commands in parallel 2018-05-28 16:24:22 +02:00
test_003-004.expected clients/tests: run nmcli commands in parallel 2018-05-28 16:24:22 +02:00
test_003-005.expected clients/tests: run nmcli commands in parallel 2018-05-28 16:24:22 +02:00
test_003-006.expected clients/tests: run nmcli commands in parallel 2018-05-28 16:24:22 +02:00
test_003-007.expected clients/tests: run nmcli commands in parallel 2018-05-28 16:24:22 +02:00
test_003-008.expected clients/tests: run nmcli commands in parallel 2018-05-28 16:24:22 +02:00
test_003-009.expected clients/tests: run nmcli commands in parallel 2018-05-28 16:24:22 +02:00
test_003-010.expected clients/tests: run nmcli commands in parallel 2018-05-28 16:24:22 +02:00
test_003-011.expected clients/tests: run nmcli commands in parallel 2018-05-28 16:24:22 +02:00
test_003-012.expected clients/tests: run nmcli commands in parallel 2018-05-28 16:24:22 +02:00
test_003-013.expected clients/tests: run nmcli commands in parallel 2018-05-28 16:24:22 +02:00
test_003-014.expected clients/tests: run nmcli commands in parallel 2018-05-28 16:24:22 +02:00
test_003-015.expected clients/tests: run nmcli commands in parallel 2018-05-28 16:24:22 +02:00
test_003-016.expected clients/tests: add tests for output of nmcli con show 2018-06-01 16:03:23 +02:00
test_003-017.expected clients/tests: add tests for output of nmcli con show 2018-06-01 16:03:23 +02:00
test_003-018.expected clients/tests: add tests for output of nmcli con show 2018-06-01 16:03:23 +02:00
test_003-019.expected clients/tests: add tests for output of nmcli con show 2018-06-01 16:03:23 +02:00
test_003-020.expected clients/tests: add tests for output of nmcli con show 2018-06-01 16:03:23 +02:00
test_003-021.expected clients/tests: add tests for output of nmcli con show 2018-06-01 16:03:23 +02:00
test_003-022.expected clients/tests: add tests for output of nmcli con show 2018-06-01 16:03:23 +02:00
test_003-023.expected clients/tests: add tests for output of nmcli con show 2018-06-01 16:03:23 +02:00
test_003-024.expected clients/tests: add test for showing connection's active state 2018-06-01 16:03:23 +02:00
test_003-025.expected cli: rework printing of general active-connection properties 2018-06-01 16:03:23 +02:00
test_003-026.expected clients/tests: add test for showing connection's active state 2018-06-01 16:03:23 +02:00
test_003-027.expected cli: rework printing of general active-connection properties 2018-06-01 16:03:23 +02:00
test_003-028.expected clients/tests: add test for showing connection's active state 2018-06-01 16:03:23 +02:00
test_003-029.expected clients/tests: add test for showing connection's active state 2018-06-01 16:03:23 +02:00
test_003-030.expected clients/tests: add test for showing connection's active state 2018-06-01 16:03:23 +02:00
test_003-031.expected clients/tests: add test for showing connection's active state 2018-06-01 16:03:23 +02:00
test_003-032.expected clients/tests: add test for showing connection's active state 2018-06-01 16:03:23 +02:00
test_003-033.expected cli: rework printing of nmcli connection for multiple active connections 2018-06-01 16:03:23 +02:00
test_003-034.expected cli: rework printing of nmcli connection for multiple active connections 2018-06-01 16:03:23 +02:00
test_003-035.expected cli: rework printing of nmcli connection for multiple active connections 2018-06-01 16:03:23 +02:00
test_003-036.expected cli: rework printing of nmcli connection for multiple active connections 2018-06-01 16:03:23 +02:00
test_003-037.expected cli: rework printing of nmcli connection for multiple active connections 2018-06-01 16:03:23 +02:00
test_003-038.expected cli: rework printing of nmcli connection for multiple active connections 2018-06-01 16:03:23 +02:00
test_003-039.expected cli: rework printing of nmcli connection for multiple active connections 2018-06-01 16:03:23 +02:00
test_003-040.expected cli: rework printing of nmcli connection for multiple active connections 2018-06-01 16:03:23 +02:00
test_003-041.expected clients/tests: add test for showing connection's active state 2018-06-01 16:03:23 +02:00
test_003-042.expected clients/tests: add test for showing connection's active state 2018-06-01 16:03:23 +02:00
test_003-043.expected clients/tests: add test for showing connection's active state 2018-06-01 16:03:23 +02:00
test_003-044.expected clients/tests: add test for showing connection's active state 2018-06-01 16:03:23 +02:00
test_003-045.expected clients/tests: add test for showing connection's active state 2018-06-01 16:03:23 +02:00
test_003-046.expected cli: rework printing of general active-connection properties 2018-06-01 16:03:23 +02:00
test_003-047.expected clients/tests: add test for showing connection's active state 2018-06-01 16:03:23 +02:00
test_003-048.expected cli: rework printing of general active-connection properties 2018-06-01 16:03:23 +02:00
test_003-049.expected clients/tests: add test for showing connection's active state 2018-06-01 16:03:23 +02:00
test_003-050.expected clients/tests: add test for showing connection's active state 2018-06-01 16:03:23 +02:00
test_003-051.expected clients/tests: add test for showing connection's active state 2018-06-01 16:03:23 +02:00
test_003-052.expected clients/tests: add test for showing connection's active state 2018-06-01 16:03:23 +02:00
test_003-053.expected cli: rework printing of nmcli connection for multiple active connections 2018-06-01 16:03:23 +02:00
test_003-054.expected cli: rework printing of nmcli connection for multiple active connections 2018-06-01 16:03:23 +02:00
test_003-055.expected clients/tests: add test for showing connection's active state 2018-06-01 16:03:23 +02:00
test_003-056.expected clients/tests: add test for showing connection's active state 2018-06-01 16:03:23 +02:00
test_003-057.expected clients/tests: add test for showing connection's active state 2018-06-01 16:03:23 +02:00
test_003-058.expected clients/tests: add test for showing connection's active state 2018-06-01 16:03:23 +02:00
test_003-059.expected clients/tests: add test for showing connection's active state 2018-06-01 16:03:23 +02:00
test_003-060.expected clients/tests: add test for showing connection's active state 2018-06-01 16:03:23 +02:00
test_003-061.expected clients/tests: add test for showing connection's active state 2018-06-01 16:03:23 +02:00
test_003-062.expected clients/tests: add test for showing connection's active state 2018-06-01 16:03:23 +02:00
test_003-063.expected clients/tests: add test for showing connection's active state 2018-06-01 16:03:23 +02:00
test_003-064.expected clients/tests: add test for showing connection's active state 2018-06-01 16:03:23 +02:00
test_003-065.expected clients/tests: add test for showing connection's active state 2018-06-01 16:03:23 +02:00
test_003-066.expected clients/tests: add test for showing connection's active state 2018-06-01 16:03:23 +02:00
test_003-067.expected clients/tests: add test for showing connection's active state 2018-06-01 16:03:23 +02:00
test_003-068.expected clients/tests: add test for showing connection's active state 2018-06-01 16:03:23 +02:00
test_003-069.expected cli: sort active-connection for nmcli connection show $PROFILE output 2018-06-01 16:03:23 +02:00
test_003-070.expected cli: rework printing of general active-connection properties 2018-06-01 16:03:23 +02:00
test_003-071.expected clients/tests: add test for showing connection's active state 2018-06-01 16:03:23 +02:00
test_003-072.expected cli: rework printing of general active-connection properties 2018-06-01 16:03:23 +02:00
test_003-073.expected cli: rework printing of nmcli connection for multiple active connections 2018-06-01 16:03:23 +02:00
test_003-074.expected cli: rework printing of nmcli connection for multiple active connections 2018-06-01 16:03:23 +02:00
test_003-075.expected cli: rework printing of nmcli connection for multiple active connections 2018-06-01 16:03:23 +02:00
test_003-076.expected cli: rework printing of nmcli connection for multiple active connections 2018-06-01 16:03:23 +02:00
test_003-077.expected cli: rework printing of nmcli connection for multiple active connections 2018-06-01 16:03:23 +02:00
test_003-078.expected cli: rework printing of nmcli connection for multiple active connections 2018-06-01 16:03:23 +02:00
test_003-079.expected cli: rework printing of nmcli connection for multiple active connections 2018-06-01 16:03:23 +02:00
test_003-080.expected cli: rework printing of nmcli connection for multiple active connections 2018-06-01 16:03:23 +02:00
test_003-081.expected cli: rework printing of nmcli connection for multiple active connections 2018-06-01 16:03:23 +02:00
test_003-082.expected cli: rework printing of nmcli connection for multiple active connections 2018-06-01 16:03:23 +02:00
test_003-083.expected cli: rework printing of nmcli connection for multiple active connections 2018-06-01 16:03:23 +02:00
test_003-084.expected cli: rework printing of nmcli connection for multiple active connections 2018-06-01 16:03:23 +02:00
test_003-085.expected cli: rework printing of nmcli connection for multiple active connections 2018-06-01 16:03:23 +02:00
test_003-086.expected cli: rework printing of nmcli connection for multiple active connections 2018-06-01 16:03:23 +02:00
test_003-087.expected cli: rework printing of nmcli connection for multiple active connections 2018-06-01 16:03:23 +02:00
test_003-088.expected cli: rework printing of nmcli connection for multiple active connections 2018-06-01 16:03:23 +02:00
test_003-089.expected clients/tests: add test for showing connection's active state 2018-06-01 16:03:23 +02:00
test_003-090.expected clients/tests: add test for showing connection's active state 2018-06-01 16:03:23 +02:00
test_003-091.expected cli: rework printing of general active-connection properties 2018-06-01 16:03:23 +02:00
test_003-092.expected cli: rework printing of general active-connection properties 2018-06-01 16:03:23 +02:00
test_004-001.expected clients/tests: add test for showing connection's active state 2018-06-01 16:03:23 +02:00
test_004-002.expected clients/tests: add test for showing connection's active state 2018-06-01 16:03:23 +02:00
test_004-003.expected clients/tests: add test for showing connection's active state 2018-06-01 16:03:23 +02:00
test_004-004.expected clients/tests: add test for showing connection's active state 2018-06-01 16:03:23 +02:00
test_004-005.expected clients/tests: add test for showing connection's active state 2018-06-01 16:03:23 +02:00
test_004-006.expected clients/tests: add test for showing connection's active state 2018-06-01 16:03:23 +02:00