merge: branch 'bg/sanitizers'

Fix build with sanitizers, and other memory fixes

https://github.com/NetworkManager/NetworkManager/pull/342
(cherry picked from commit 549112c1ba)
This commit is contained in:
Beniamino Galvani 2019-04-12 11:52:49 +02:00
commit 1dfd2e2894
8 changed files with 1365 additions and 1342 deletions

View file

@ -213,6 +213,9 @@ shared_libcsiphash_la_CPPFLAGS = \
$(SANITIZER_LIB_CFLAGS) \ $(SANITIZER_LIB_CFLAGS) \
$(NULL) $(NULL)
shared_libcsiphash_la_LDFLAGS = \
$(SANITIZER_LIB_LDFLAGS)
shared_libcsiphash_la_SOURCES = \ shared_libcsiphash_la_SOURCES = \
shared/c-siphash/src/c-siphash.c \ shared/c-siphash/src/c-siphash.c \
shared/c-siphash/src/c-siphash.h \ shared/c-siphash/src/c-siphash.h \
@ -232,6 +235,9 @@ shared_libcrbtree_la_CPPFLAGS = \
$(SANITIZER_LIB_CFLAGS) \ $(SANITIZER_LIB_CFLAGS) \
$(NULL) $(NULL)
shared_libcrbtree_la_LDFLAGS = \
$(SANITIZER_LIB_LDFLAGS)
shared_libcrbtree_la_SOURCES = \ shared_libcrbtree_la_SOURCES = \
shared/c-rbtree/src/c-rbtree.c \ shared/c-rbtree/src/c-rbtree.c \
shared/c-rbtree/src/c-rbtree.h \ shared/c-rbtree/src/c-rbtree.h \
@ -259,6 +265,9 @@ shared_libnacd_la_CPPFLAGS = \
-I$(srcdir)/shared/c-rbtree/src \ -I$(srcdir)/shared/c-rbtree/src \
$(NULL) $(NULL)
shared_libnacd_la_LDFLAGS = \
$(SANITIZER_LIB_LDFLAGS)
shared_libnacd_la_SOURCES = \ shared_libnacd_la_SOURCES = \
shared/n-acd/src/n-acd.c \ shared/n-acd/src/n-acd.c \
shared/n-acd/src/n-acd.h \ shared/n-acd/src/n-acd.h \
@ -374,6 +383,11 @@ shared_nm_utils_tests_test_shared_general_CPPFLAGS = \
$(SANITIZER_LIB_CFLAGS) \ $(SANITIZER_LIB_CFLAGS) \
$(NULL) $(NULL)
shared_nm_utils_tests_test_shared_general_LDFLAGS = \
$(CODE_COVERAGE_LDFLAGS) \
$(SANITIZER_EXEC_LDFLAGS) \
$(NULL)
shared_nm_utils_tests_test_shared_general_LDADD = \ shared_nm_utils_tests_test_shared_general_LDADD = \
shared/nm-utils/libnm-utils-base.la \ shared/nm-utils/libnm-utils-base.la \
$(GLIB_LIBS) \ $(GLIB_LIBS) \
@ -962,7 +976,7 @@ libnm_core_tests_ldadd = \
$(GLIB_LIBS) $(GLIB_LIBS)
libnm_core_tests_ldflags = \ libnm_core_tests_ldflags = \
$(SANITIZER_LIB_LDFLAGS) $(SANITIZER_EXEC_LDFLAGS)
libnm_core_tests_test_compare_LDADD = $(libnm_core_tests_ldadd) libnm_core_tests_test_compare_LDADD = $(libnm_core_tests_ldadd)
libnm_core_tests_test_crypto_LDADD = $(libnm_core_tests_ldadd) libnm_core_tests_test_crypto_LDADD = $(libnm_core_tests_ldadd)
@ -1385,7 +1399,7 @@ libnm_tests_ldadd = \
$(GLIB_LIBS) $(GLIB_LIBS)
libnm_tests_ldflags = \ libnm_tests_ldflags = \
$(SANITIZER_LIB_LDFLAGS) $(SANITIZER_EXEC_LDFLAGS)
libnm_tests_test_general_CPPFLAGS = $(libnm_tests_cppflags) libnm_tests_test_general_CPPFLAGS = $(libnm_tests_cppflags)
libnm_tests_test_nm_client_CPPFLAGS = $(libnm_tests_cppflags) libnm_tests_test_nm_client_CPPFLAGS = $(libnm_tests_cppflags)
@ -1414,6 +1428,10 @@ libnm_tests_test_secret_agent_SOURCES = \
libnm_tests_test_general_LDADD = \ libnm_tests_test_general_LDADD = \
libnm/libnm-utils.la \ libnm/libnm-utils.la \
$(libnm_tests_ldadd) $(libnm_tests_ldadd)
libnm_tests_test_general_LDFLAGS = \
$(libnm_tests_ldflags)
libnm_tests_test_nm_client_LDADD = $(libnm_tests_ldadd) libnm_tests_test_nm_client_LDADD = $(libnm_tests_ldadd)
libnm_tests_test_remote_settings_client_LDADD = $(libnm_tests_ldadd) libnm_tests_test_remote_settings_client_LDADD = $(libnm_tests_ldadd)
libnm_tests_test_secret_agent_LDADD = $(libnm_tests_ldadd) libnm_tests_test_secret_agent_LDADD = $(libnm_tests_ldadd)
@ -3698,6 +3716,10 @@ $(src_tests_test_utils_OBJECTS): $(libnm_core_lib_h_pub_mkenums)
src_tests_test_systemd_CPPFLAGS = \ src_tests_test_systemd_CPPFLAGS = \
$(src_libnm_systemd_core_la_cppflags) \ $(src_libnm_systemd_core_la_cppflags) \
-DNETWORKMANAGER_COMPILATION_TEST -DNETWORKMANAGER_COMPILATION_TEST
src_tests_test_systemd_LDFLAGS = \
$(SANITIZER_EXEC_LDFLAGS)
src_tests_test_systemd_LDADD = \ src_tests_test_systemd_LDADD = \
src/libnm-systemd-core.la \ src/libnm-systemd-core.la \
shared/systemd/libnm-systemd-shared.la \ shared/systemd/libnm-systemd-shared.la \

View file

@ -1,5 +1,5 @@
size: 395 size: 395
location: clients/tests/test-client.py:841:test_001()/1 location: clients/tests/test-client.py:842:test_001()/1
cmd: $NMCLI cmd: $NMCLI
lang: C lang: C
returncode: 0 returncode: 0
@ -15,7 +15,7 @@ Consult nmcli(1) and nmcli-examples(5) manual pages for complete usage details.
<<< <<<
size: 438 size: 438
location: clients/tests/test-client.py:841:test_001()/2 location: clients/tests/test-client.py:842:test_001()/2
cmd: $NMCLI cmd: $NMCLI
lang: pl_PL.UTF-8 lang: pl_PL.UTF-8
returncode: 0 returncode: 0
@ -33,7 +33,7 @@ o użyciu.
<<< <<<
size: 188 size: 188
location: clients/tests/test-client.py:843:test_001()/3 location: clients/tests/test-client.py:844:test_001()/3
cmd: $NMCLI -f AP -mode multiline -p d show wlan0 cmd: $NMCLI -f AP -mode multiline -p d show wlan0
lang: C lang: C
returncode: 10 returncode: 10
@ -43,7 +43,7 @@ Error: Device 'wlan0' not found.
<<< <<<
size: 214 size: 214
location: clients/tests/test-client.py:843:test_001()/4 location: clients/tests/test-client.py:844:test_001()/4
cmd: $NMCLI -f AP -mode multiline -p d show wlan0 cmd: $NMCLI -f AP -mode multiline -p d show wlan0
lang: pl_PL.UTF-8 lang: pl_PL.UTF-8
returncode: 10 returncode: 10
@ -53,7 +53,7 @@ Błąd: Nie odnaleziono urządzenia „wlan0”.
<<< <<<
size: 120 size: 120
location: clients/tests/test-client.py:845:test_001()/5 location: clients/tests/test-client.py:846:test_001()/5
cmd: $NMCLI c s cmd: $NMCLI c s
lang: C lang: C
returncode: 0 returncode: 0
@ -63,7 +63,7 @@ stdout: 1 bytes
<<< <<<
size: 130 size: 130
location: clients/tests/test-client.py:845:test_001()/6 location: clients/tests/test-client.py:846:test_001()/6
cmd: $NMCLI c s cmd: $NMCLI c s
lang: pl_PL.UTF-8 lang: pl_PL.UTF-8
returncode: 0 returncode: 0
@ -73,7 +73,7 @@ stdout: 1 bytes
<<< <<<
size: 192 size: 192
location: clients/tests/test-client.py:847:test_001()/7 location: clients/tests/test-client.py:848:test_001()/7
cmd: $NMCLI bogus s cmd: $NMCLI bogus s
lang: C lang: C
returncode: 2 returncode: 2
@ -83,7 +83,7 @@ Error: argument 'bogus' not understood. Try passing --help instead.
<<< <<<
size: 221 size: 221
location: clients/tests/test-client.py:847:test_001()/8 location: clients/tests/test-client.py:848:test_001()/8
cmd: $NMCLI bogus s cmd: $NMCLI bogus s
lang: pl_PL.UTF-8 lang: pl_PL.UTF-8
returncode: 2 returncode: 2
@ -93,7 +93,7 @@ Błąd: nie zrozumiano parametru „bogus”. Można użyć „--help” zamiast
<<< <<<
size: 1488 size: 1488
location: clients/tests/test-client.py:850:test_001()/9 location: clients/tests/test-client.py:851:test_001()/9
cmd: $NMCLI general permissions cmd: $NMCLI general permissions
lang: C lang: C
returncode: 0 returncode: 0
@ -120,7 +120,7 @@ org.freedesktop.NetworkManager.wifi.scan unknown
<<< <<<
size: 1517 size: 1517
location: clients/tests/test-client.py:850:test_001()/10 location: clients/tests/test-client.py:851:test_001()/10
cmd: $NMCLI general permissions cmd: $NMCLI general permissions
lang: pl_PL.UTF-8 lang: pl_PL.UTF-8
returncode: 0 returncode: 0
@ -147,7 +147,7 @@ org.freedesktop.NetworkManager.wifi.scan nieznane
<<< <<<
size: 1618 size: 1618
location: clients/tests/test-client.py:850:test_001()/11 location: clients/tests/test-client.py:851:test_001()/11
cmd: $NMCLI --color yes general permissions cmd: $NMCLI --color yes general permissions
lang: C lang: C
returncode: 0 returncode: 0
@ -174,7 +174,7 @@ org.freedesktop.NetworkManager.wifi.scan unknown
<<< <<<
size: 1646 size: 1646
location: clients/tests/test-client.py:850:test_001()/12 location: clients/tests/test-client.py:851:test_001()/12
cmd: $NMCLI --color yes general permissions cmd: $NMCLI --color yes general permissions
lang: pl_PL.UTF-8 lang: pl_PL.UTF-8
returncode: 0 returncode: 0
@ -201,7 +201,7 @@ org.freedesktop.NetworkManager.wifi.scan nieznane
<<< <<<
size: 1695 size: 1695
location: clients/tests/test-client.py:850:test_001()/13 location: clients/tests/test-client.py:851:test_001()/13
cmd: $NMCLI --pretty general permissions cmd: $NMCLI --pretty general permissions
lang: C lang: C
returncode: 0 returncode: 0
@ -232,7 +232,7 @@ org.freedesktop.NetworkManager.wifi.scan unknown
<<< <<<
size: 1753 size: 1753
location: clients/tests/test-client.py:850:test_001()/14 location: clients/tests/test-client.py:851:test_001()/14
cmd: $NMCLI --pretty general permissions cmd: $NMCLI --pretty general permissions
lang: pl_PL.UTF-8 lang: pl_PL.UTF-8
returncode: 0 returncode: 0
@ -263,7 +263,7 @@ org.freedesktop.NetworkManager.wifi.scan nieznane
<<< <<<
size: 1824 size: 1824
location: clients/tests/test-client.py:850:test_001()/15 location: clients/tests/test-client.py:851:test_001()/15
cmd: $NMCLI --pretty --color yes general permissions cmd: $NMCLI --pretty --color yes general permissions
lang: C lang: C
returncode: 0 returncode: 0
@ -294,7 +294,7 @@ org.freedesktop.NetworkManager.wifi.scan unknown
<<< <<<
size: 1882 size: 1882
location: clients/tests/test-client.py:850:test_001()/16 location: clients/tests/test-client.py:851:test_001()/16
cmd: $NMCLI --pretty --color yes general permissions cmd: $NMCLI --pretty --color yes general permissions
lang: pl_PL.UTF-8 lang: pl_PL.UTF-8
returncode: 0 returncode: 0
@ -325,7 +325,7 @@ org.freedesktop.NetworkManager.wifi.scan nieznane
<<< <<<
size: 1094 size: 1094
location: clients/tests/test-client.py:850:test_001()/17 location: clients/tests/test-client.py:851:test_001()/17
cmd: $NMCLI --terse general permissions cmd: $NMCLI --terse general permissions
lang: C lang: C
returncode: 0 returncode: 0
@ -351,7 +351,7 @@ org.freedesktop.NetworkManager.wifi.scan:unknown
<<< <<<
size: 1104 size: 1104
location: clients/tests/test-client.py:850:test_001()/18 location: clients/tests/test-client.py:851:test_001()/18
cmd: $NMCLI --terse general permissions cmd: $NMCLI --terse general permissions
lang: pl_PL.UTF-8 lang: pl_PL.UTF-8
returncode: 0 returncode: 0
@ -377,7 +377,7 @@ org.freedesktop.NetworkManager.wifi.scan:unknown
<<< <<<
size: 1224 size: 1224
location: clients/tests/test-client.py:850:test_001()/19 location: clients/tests/test-client.py:851:test_001()/19
cmd: $NMCLI --terse --color yes general permissions cmd: $NMCLI --terse --color yes general permissions
lang: C lang: C
returncode: 0 returncode: 0
@ -403,7 +403,7 @@ org.freedesktop.NetworkManager.wifi.scan:unknown
<<< <<<
size: 1234 size: 1234
location: clients/tests/test-client.py:850:test_001()/20 location: clients/tests/test-client.py:851:test_001()/20
cmd: $NMCLI --terse --color yes general permissions cmd: $NMCLI --terse --color yes general permissions
lang: pl_PL.UTF-8 lang: pl_PL.UTF-8
returncode: 0 returncode: 0
@ -429,7 +429,7 @@ org.freedesktop.NetworkManager.wifi.scan:unknown
<<< <<<
size: 1504 size: 1504
location: clients/tests/test-client.py:850:test_001()/21 location: clients/tests/test-client.py:851:test_001()/21
cmd: $NMCLI --mode tabular general permissions cmd: $NMCLI --mode tabular general permissions
lang: C lang: C
returncode: 0 returncode: 0
@ -456,7 +456,7 @@ org.freedesktop.NetworkManager.wifi.scan unknown
<<< <<<
size: 1532 size: 1532
location: clients/tests/test-client.py:850:test_001()/22 location: clients/tests/test-client.py:851:test_001()/22
cmd: $NMCLI --mode tabular general permissions cmd: $NMCLI --mode tabular general permissions
lang: pl_PL.UTF-8 lang: pl_PL.UTF-8
returncode: 0 returncode: 0
@ -483,7 +483,7 @@ org.freedesktop.NetworkManager.wifi.scan nieznane
<<< <<<
size: 1633 size: 1633
location: clients/tests/test-client.py:850:test_001()/23 location: clients/tests/test-client.py:851:test_001()/23
cmd: $NMCLI --mode tabular --color yes general permissions cmd: $NMCLI --mode tabular --color yes general permissions
lang: C lang: C
returncode: 0 returncode: 0
@ -510,7 +510,7 @@ org.freedesktop.NetworkManager.wifi.scan unknown
<<< <<<
size: 1661 size: 1661
location: clients/tests/test-client.py:850:test_001()/24 location: clients/tests/test-client.py:851:test_001()/24
cmd: $NMCLI --mode tabular --color yes general permissions cmd: $NMCLI --mode tabular --color yes general permissions
lang: pl_PL.UTF-8 lang: pl_PL.UTF-8
returncode: 0 returncode: 0
@ -537,7 +537,7 @@ org.freedesktop.NetworkManager.wifi.scan nieznane
<<< <<<
size: 1710 size: 1710
location: clients/tests/test-client.py:850:test_001()/25 location: clients/tests/test-client.py:851:test_001()/25
cmd: $NMCLI --mode tabular --pretty general permissions cmd: $NMCLI --mode tabular --pretty general permissions
lang: C lang: C
returncode: 0 returncode: 0
@ -568,7 +568,7 @@ org.freedesktop.NetworkManager.wifi.scan unknown
<<< <<<
size: 1768 size: 1768
location: clients/tests/test-client.py:850:test_001()/26 location: clients/tests/test-client.py:851:test_001()/26
cmd: $NMCLI --mode tabular --pretty general permissions cmd: $NMCLI --mode tabular --pretty general permissions
lang: pl_PL.UTF-8 lang: pl_PL.UTF-8
returncode: 0 returncode: 0
@ -599,7 +599,7 @@ org.freedesktop.NetworkManager.wifi.scan nieznane
<<< <<<
size: 1839 size: 1839
location: clients/tests/test-client.py:850:test_001()/27 location: clients/tests/test-client.py:851:test_001()/27
cmd: $NMCLI --mode tabular --pretty --color yes general permissions cmd: $NMCLI --mode tabular --pretty --color yes general permissions
lang: C lang: C
returncode: 0 returncode: 0
@ -630,7 +630,7 @@ org.freedesktop.NetworkManager.wifi.scan unknown
<<< <<<
size: 1897 size: 1897
location: clients/tests/test-client.py:850:test_001()/28 location: clients/tests/test-client.py:851:test_001()/28
cmd: $NMCLI --mode tabular --pretty --color yes general permissions cmd: $NMCLI --mode tabular --pretty --color yes general permissions
lang: pl_PL.UTF-8 lang: pl_PL.UTF-8
returncode: 0 returncode: 0
@ -661,7 +661,7 @@ org.freedesktop.NetworkManager.wifi.scan nieznane
<<< <<<
size: 1109 size: 1109
location: clients/tests/test-client.py:850:test_001()/29 location: clients/tests/test-client.py:851:test_001()/29
cmd: $NMCLI --mode tabular --terse general permissions cmd: $NMCLI --mode tabular --terse general permissions
lang: C lang: C
returncode: 0 returncode: 0
@ -687,7 +687,7 @@ org.freedesktop.NetworkManager.wifi.scan:unknown
<<< <<<
size: 1119 size: 1119
location: clients/tests/test-client.py:850:test_001()/30 location: clients/tests/test-client.py:851:test_001()/30
cmd: $NMCLI --mode tabular --terse general permissions cmd: $NMCLI --mode tabular --terse general permissions
lang: pl_PL.UTF-8 lang: pl_PL.UTF-8
returncode: 0 returncode: 0
@ -713,7 +713,7 @@ org.freedesktop.NetworkManager.wifi.scan:unknown
<<< <<<
size: 1239 size: 1239
location: clients/tests/test-client.py:850:test_001()/31 location: clients/tests/test-client.py:851:test_001()/31
cmd: $NMCLI --mode tabular --terse --color yes general permissions cmd: $NMCLI --mode tabular --terse --color yes general permissions
lang: C lang: C
returncode: 0 returncode: 0
@ -739,7 +739,7 @@ org.freedesktop.NetworkManager.wifi.scan:unknown
<<< <<<
size: 1249 size: 1249
location: clients/tests/test-client.py:850:test_001()/32 location: clients/tests/test-client.py:851:test_001()/32
cmd: $NMCLI --mode tabular --terse --color yes general permissions cmd: $NMCLI --mode tabular --terse --color yes general permissions
lang: pl_PL.UTF-8 lang: pl_PL.UTF-8
returncode: 0 returncode: 0
@ -765,7 +765,7 @@ org.freedesktop.NetworkManager.wifi.scan:unknown
<<< <<<
size: 2464 size: 2464
location: clients/tests/test-client.py:850:test_001()/33 location: clients/tests/test-client.py:851:test_001()/33
cmd: $NMCLI --mode multiline general permissions cmd: $NMCLI --mode multiline general permissions
lang: C lang: C
returncode: 0 returncode: 0
@ -808,7 +808,7 @@ VALUE: unknown
<<< <<<
size: 2481 size: 2481
location: clients/tests/test-client.py:850:test_001()/34 location: clients/tests/test-client.py:851:test_001()/34
cmd: $NMCLI --mode multiline general permissions cmd: $NMCLI --mode multiline general permissions
lang: pl_PL.UTF-8 lang: pl_PL.UTF-8
returncode: 0 returncode: 0
@ -851,7 +851,7 @@ VALUE: nieznane
<<< <<<
size: 2593 size: 2593
location: clients/tests/test-client.py:850:test_001()/35 location: clients/tests/test-client.py:851:test_001()/35
cmd: $NMCLI --mode multiline --color yes general permissions cmd: $NMCLI --mode multiline --color yes general permissions
lang: C lang: C
returncode: 0 returncode: 0
@ -894,7 +894,7 @@ VALUE: unknown
<<< <<<
size: 2610 size: 2610
location: clients/tests/test-client.py:850:test_001()/36 location: clients/tests/test-client.py:851:test_001()/36
cmd: $NMCLI --mode multiline --color yes general permissions cmd: $NMCLI --mode multiline --color yes general permissions
lang: pl_PL.UTF-8 lang: pl_PL.UTF-8
returncode: 0 returncode: 0
@ -937,7 +937,7 @@ VALUE: nieznane
<<< <<<
size: 4046 size: 4046
location: clients/tests/test-client.py:850:test_001()/37 location: clients/tests/test-client.py:851:test_001()/37
cmd: $NMCLI --mode multiline --pretty general permissions cmd: $NMCLI --mode multiline --pretty general permissions
lang: C lang: C
returncode: 0 returncode: 0
@ -1000,7 +1000,7 @@ VALUE: unknown
<<< <<<
size: 4068 size: 4068
location: clients/tests/test-client.py:850:test_001()/38 location: clients/tests/test-client.py:851:test_001()/38
cmd: $NMCLI --mode multiline --pretty general permissions cmd: $NMCLI --mode multiline --pretty general permissions
lang: pl_PL.UTF-8 lang: pl_PL.UTF-8
returncode: 0 returncode: 0
@ -1063,7 +1063,7 @@ VALUE: nieznane
<<< <<<
size: 4175 size: 4175
location: clients/tests/test-client.py:850:test_001()/39 location: clients/tests/test-client.py:851:test_001()/39
cmd: $NMCLI --mode multiline --pretty --color yes general permissions cmd: $NMCLI --mode multiline --pretty --color yes general permissions
lang: C lang: C
returncode: 0 returncode: 0
@ -1126,7 +1126,7 @@ VALUE: unknown
<<< <<<
size: 4197 size: 4197
location: clients/tests/test-client.py:850:test_001()/40 location: clients/tests/test-client.py:851:test_001()/40
cmd: $NMCLI --mode multiline --pretty --color yes general permissions cmd: $NMCLI --mode multiline --pretty --color yes general permissions
lang: pl_PL.UTF-8 lang: pl_PL.UTF-8
returncode: 0 returncode: 0
@ -1189,7 +1189,7 @@ VALUE: nieznane
<<< <<<
size: 1401 size: 1401
location: clients/tests/test-client.py:850:test_001()/41 location: clients/tests/test-client.py:851:test_001()/41
cmd: $NMCLI --mode multiline --terse general permissions cmd: $NMCLI --mode multiline --terse general permissions
lang: C lang: C
returncode: 0 returncode: 0
@ -1232,7 +1232,7 @@ VALUE:unknown
<<< <<<
size: 1411 size: 1411
location: clients/tests/test-client.py:850:test_001()/42 location: clients/tests/test-client.py:851:test_001()/42
cmd: $NMCLI --mode multiline --terse general permissions cmd: $NMCLI --mode multiline --terse general permissions
lang: pl_PL.UTF-8 lang: pl_PL.UTF-8
returncode: 0 returncode: 0
@ -1275,7 +1275,7 @@ VALUE:unknown
<<< <<<
size: 1530 size: 1530
location: clients/tests/test-client.py:850:test_001()/43 location: clients/tests/test-client.py:851:test_001()/43
cmd: $NMCLI --mode multiline --terse --color yes general permissions cmd: $NMCLI --mode multiline --terse --color yes general permissions
lang: C lang: C
returncode: 0 returncode: 0
@ -1318,7 +1318,7 @@ VALUE:unknown
<<< <<<
size: 1540 size: 1540
location: clients/tests/test-client.py:850:test_001()/44 location: clients/tests/test-client.py:851:test_001()/44
cmd: $NMCLI --mode multiline --terse --color yes general permissions cmd: $NMCLI --mode multiline --terse --color yes general permissions
lang: pl_PL.UTF-8 lang: pl_PL.UTF-8
returncode: 0 returncode: 0

View file

@ -1,5 +1,5 @@
size: 377 size: 377
location: clients/tests/test-client.py:856:test_002()/1 location: clients/tests/test-client.py:857:test_002()/1
cmd: $NMCLI d cmd: $NMCLI d
lang: C lang: C
returncode: 0 returncode: 0
@ -14,7 +14,7 @@ wlan1 wifi unavailable --
<<< <<<
size: 392 size: 392
location: clients/tests/test-client.py:856:test_002()/2 location: clients/tests/test-client.py:857:test_002()/2
cmd: $NMCLI d cmd: $NMCLI d
lang: pl_PL.UTF-8 lang: pl_PL.UTF-8
returncode: 0 returncode: 0
@ -29,7 +29,7 @@ wlan1 wifi niedostępne --
<<< <<<
size: 978 size: 978
location: clients/tests/test-client.py:858:test_002()/3 location: clients/tests/test-client.py:859:test_002()/3
cmd: $NMCLI -f all d cmd: $NMCLI -f all d
lang: C lang: C
returncode: 0 returncode: 0
@ -44,7 +44,7 @@ wlan1 wifi unavailable unknown unknown /org/freedesk
<<< <<<
size: 993 size: 993
location: clients/tests/test-client.py:858:test_002()/4 location: clients/tests/test-client.py:859:test_002()/4
cmd: $NMCLI -f all d cmd: $NMCLI -f all d
lang: pl_PL.UTF-8 lang: pl_PL.UTF-8
returncode: 0 returncode: 0
@ -59,7 +59,7 @@ wlan1 wifi niedostępne nieznane nieznane /org/freedes
<<< <<<
size: 739 size: 739
location: clients/tests/test-client.py:860:test_002()/5 location: clients/tests/test-client.py:861:test_002()/5
cmd: $NMCLI cmd: $NMCLI
lang: C lang: C
returncode: 0 returncode: 0
@ -95,7 +95,7 @@ Consult nmcli(1) and nmcli-examples(5) manual pages for complete usage details.
<<< <<<
size: 812 size: 812
location: clients/tests/test-client.py:860:test_002()/6 location: clients/tests/test-client.py:861:test_002()/6
cmd: $NMCLI cmd: $NMCLI
lang: pl_PL.UTF-8 lang: pl_PL.UTF-8
returncode: 0 returncode: 0
@ -133,7 +133,7 @@ o użyciu.
<<< <<<
size: 1250 size: 1250
location: clients/tests/test-client.py:862:test_002()/7 location: clients/tests/test-client.py:863:test_002()/7
cmd: $NMCLI -f AP -mode multiline d show wlan0 cmd: $NMCLI -f AP -mode multiline d show wlan0
lang: C lang: C
returncode: 0 returncode: 0
@ -166,7 +166,7 @@ AP[3].SECURITY: WPA1 WPA2
<<< <<<
size: 1287 size: 1287
location: clients/tests/test-client.py:862:test_002()/8 location: clients/tests/test-client.py:863:test_002()/8
cmd: $NMCLI -f AP -mode multiline d show wlan0 cmd: $NMCLI -f AP -mode multiline d show wlan0
lang: pl_PL.UTF-8 lang: pl_PL.UTF-8
returncode: 0 returncode: 0
@ -199,7 +199,7 @@ AP[3].SECURITY: WPA1 WPA2
<<< <<<
size: 1704 size: 1704
location: clients/tests/test-client.py:863:test_002()/9 location: clients/tests/test-client.py:864:test_002()/9
cmd: $NMCLI -f AP -mode multiline -p d show wlan0 cmd: $NMCLI -f AP -mode multiline -p d show wlan0
lang: C lang: C
returncode: 0 returncode: 0
@ -238,7 +238,7 @@ AP[3].SECURITY: WPA1 WPA2
<<< <<<
size: 1749 size: 1749
location: clients/tests/test-client.py:863:test_002()/10 location: clients/tests/test-client.py:864:test_002()/10
cmd: $NMCLI -f AP -mode multiline -p d show wlan0 cmd: $NMCLI -f AP -mode multiline -p d show wlan0
lang: pl_PL.UTF-8 lang: pl_PL.UTF-8
returncode: 0 returncode: 0
@ -277,7 +277,7 @@ AP[3].SECURITY: WPA1 WPA2
<<< <<<
size: 581 size: 581
location: clients/tests/test-client.py:864:test_002()/11 location: clients/tests/test-client.py:865:test_002()/11
cmd: $NMCLI -f AP -mode multiline -t d show wlan0 cmd: $NMCLI -f AP -mode multiline -t d show wlan0
lang: C lang: C
returncode: 0 returncode: 0
@ -310,7 +310,7 @@ AP[3].SECURITY:WPA1 WPA2
<<< <<<
size: 618 size: 618
location: clients/tests/test-client.py:864:test_002()/12 location: clients/tests/test-client.py:865:test_002()/12
cmd: $NMCLI -f AP -mode multiline -t d show wlan0 cmd: $NMCLI -f AP -mode multiline -t d show wlan0
lang: pl_PL.UTF-8 lang: pl_PL.UTF-8
returncode: 0 returncode: 0
@ -343,7 +343,7 @@ AP[3].SECURITY:WPA1 WPA2
<<< <<<
size: 455 size: 455
location: clients/tests/test-client.py:865:test_002()/13 location: clients/tests/test-client.py:866:test_002()/13
cmd: $NMCLI -f AP -mode tabular d show wlan0 cmd: $NMCLI -f AP -mode tabular d show wlan0
lang: C lang: C
returncode: 0 returncode: 0
@ -356,7 +356,7 @@ AP[3] wlan0-ap-2 Infra 1 54 Mbit/s 34 ** WPA1 WPA2
<<< <<<
size: 499 size: 499
location: clients/tests/test-client.py:865:test_002()/14 location: clients/tests/test-client.py:866:test_002()/14
cmd: $NMCLI -f AP -mode tabular d show wlan0 cmd: $NMCLI -f AP -mode tabular d show wlan0
lang: pl_PL.UTF-8 lang: pl_PL.UTF-8
returncode: 0 returncode: 0
@ -369,7 +369,7 @@ AP[3] wlan0-ap-2 Infrastruktura 1 54Mb/s 34 ** WPA1 W
<<< <<<
size: 614 size: 614
location: clients/tests/test-client.py:866:test_002()/15 location: clients/tests/test-client.py:867:test_002()/15
cmd: $NMCLI -f AP -mode tabular -p d show wlan0 cmd: $NMCLI -f AP -mode tabular -p d show wlan0
lang: C lang: C
returncode: 0 returncode: 0
@ -386,7 +386,7 @@ AP[3] wlan0-ap-2 Infra 1 54 Mbit/s 34 ** WPA1 WPA2
<<< <<<
size: 694 size: 694
location: clients/tests/test-client.py:866:test_002()/16 location: clients/tests/test-client.py:867:test_002()/16
cmd: $NMCLI -f AP -mode tabular -p d show wlan0 cmd: $NMCLI -f AP -mode tabular -p d show wlan0
lang: pl_PL.UTF-8 lang: pl_PL.UTF-8
returncode: 0 returncode: 0
@ -403,7 +403,7 @@ AP[3] wlan0-ap-2 Infrastruktura 1 54Mb/s 34 ** WPA1 W
<<< <<<
size: 309 size: 309
location: clients/tests/test-client.py:867:test_002()/17 location: clients/tests/test-client.py:868:test_002()/17
cmd: $NMCLI -f AP -mode tabular -t d show wlan0 cmd: $NMCLI -f AP -mode tabular -t d show wlan0
lang: C lang: C
returncode: 0 returncode: 0
@ -415,7 +415,7 @@ AP[3]: :wlan0-ap-2:Infra:1:54 Mbit/s:34:** :WPA1 WPA2
<<< <<<
size: 346 size: 346
location: clients/tests/test-client.py:867:test_002()/18 location: clients/tests/test-client.py:868:test_002()/18
cmd: $NMCLI -f AP -mode tabular -t d show wlan0 cmd: $NMCLI -f AP -mode tabular -t d show wlan0
lang: pl_PL.UTF-8 lang: pl_PL.UTF-8
returncode: 0 returncode: 0
@ -427,7 +427,7 @@ AP[3]: :wlan0-ap-2:Infrastruktura:1:54Mb/s:34:** :WPA1 WPA2
<<< <<<
size: 1973 size: 1973
location: clients/tests/test-client.py:869:test_002()/19 location: clients/tests/test-client.py:870:test_002()/19
cmd: $NMCLI -f ALL d wifi cmd: $NMCLI -f ALL d wifi
lang: C lang: C
returncode: 0 returncode: 0
@ -445,7 +445,7 @@ NAME SSID SSID-HEX BSSID MODE CHAN FREQ RATE SIGNAL BARS SECURITY WPA
<<< <<<
size: 2041 size: 2041
location: clients/tests/test-client.py:869:test_002()/20 location: clients/tests/test-client.py:870:test_002()/20
cmd: $NMCLI -f ALL d wifi cmd: $NMCLI -f ALL d wifi
lang: pl_PL.UTF-8 lang: pl_PL.UTF-8
returncode: 0 returncode: 0
@ -463,7 +463,7 @@ NAME SSID SSID-HEX BSSID MODE CHAN FREQ RATE SIGNAL BARS SECURITY WPA
<<< <<<
size: 246 size: 246
location: clients/tests/test-client.py:871:test_002()/21 location: clients/tests/test-client.py:872:test_002()/21
cmd: $NMCLI c cmd: $NMCLI c
lang: C lang: C
returncode: 0 returncode: 0
@ -474,7 +474,7 @@ con-1 5fcfd6d7-1e63-3332-8826-a7eda103792d ethernet --
<<< <<<
size: 256 size: 256
location: clients/tests/test-client.py:871:test_002()/22 location: clients/tests/test-client.py:872:test_002()/22
cmd: $NMCLI c cmd: $NMCLI c
lang: pl_PL.UTF-8 lang: pl_PL.UTF-8
returncode: 0 returncode: 0
@ -485,7 +485,7 @@ con-1 5fcfd6d7-1e63-3332-8826-a7eda103792d ethernet --
<<< <<<
size: 1224 size: 1224
location: clients/tests/test-client.py:873:test_002()/23 location: clients/tests/test-client.py:874:test_002()/23
cmd: $NMCLI c s con-1 cmd: $NMCLI c s con-1
lang: C lang: C
returncode: 0 returncode: 0
@ -517,7 +517,7 @@ connection.llmnr: -1 (default)
<<< <<<
size: 1236 size: 1236
location: clients/tests/test-client.py:873:test_002()/24 location: clients/tests/test-client.py:874:test_002()/24
cmd: $NMCLI c s con-1 cmd: $NMCLI c s con-1
lang: pl_PL.UTF-8 lang: pl_PL.UTF-8
returncode: 0 returncode: 0

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -589,6 +589,7 @@ class TestNmcli(NmTestBase):
env['LIBNM_USE_SESSION_BUS'] = '1' env['LIBNM_USE_SESSION_BUS'] = '1'
env['LIBNM_USE_NO_UDEV'] = '1' env['LIBNM_USE_NO_UDEV'] = '1'
env['TERM'] = 'linux' env['TERM'] = 'linux'
env['ASAN_OPTIONS'] = 'detect_leaks=0'
env['XDG_CONFIG_HOME'] = PathConfiguration.srcdir() env['XDG_CONFIG_HOME'] = PathConfiguration.srcdir()
if fatal_warnings is _DEFAULT_ARG or fatal_warnings: if fatal_warnings is _DEFAULT_ARG or fatal_warnings:
env['G_DEBUG'] = 'fatal-warnings' env['G_DEBUG'] = 'fatal-warnings'

View file

@ -9859,7 +9859,7 @@ nm_device_activate_stage3_ip6_start (NMDevice *self)
NMDevicePrivate *priv = NM_DEVICE_GET_PRIVATE (self); NMDevicePrivate *priv = NM_DEVICE_GET_PRIVATE (self);
NMActStageReturn ret; NMActStageReturn ret;
NMDeviceStateReason failure_reason = NM_DEVICE_STATE_REASON_NONE; NMDeviceStateReason failure_reason = NM_DEVICE_STATE_REASON_NONE;
NMIP6Config *ip6_config = NULL; gs_unref_object NMIP6Config *ip6_config = NULL;
g_assert (priv->ip_state_6 == NM_DEVICE_IP_STATE_WAIT); g_assert (priv->ip_state_6 == NM_DEVICE_IP_STATE_WAIT);

View file

@ -2588,7 +2588,7 @@ static void
nm_policy_init (NMPolicy *self) nm_policy_init (NMPolicy *self)
{ {
NMPolicyPrivate *priv = NM_POLICY_GET_PRIVATE (self); NMPolicyPrivate *priv = NM_POLICY_GET_PRIVATE (self);
const char *hostname_mode; gs_free char *hostname_mode = NULL;
c_list_init (&priv->pending_activation_checks); c_list_init (&priv->pending_activation_checks);