<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/NetworkManager.git/include, branch th/test</title>
<subtitle>gitlab.freedesktop.org: NetworkManager/NetworkManager.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/'/>
<entry>
<title>test: fix setup of logging for no-expect-message</title>
<updated>2015-02-16T15:09:40+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2015-02-16T15:02:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=5e74891b58688a19c43fb8e50880166d94a4e901'/>
<id>5e74891b58688a19c43fb8e50880166d94a4e901</id>
<content type='text'>
Tests with assert-logging would never overwrite the logging level,
even if no-expect-message was set. Allow resetting the logging level
if no-expect-message is mixed with explicitly setting up logging.

    NMTST_DEBUG='log-level=DEBUG,log-domains=ALL,no-expect-message' make check -C src/tests/config/
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Tests with assert-logging would never overwrite the logging level,
even if no-expect-message was set. Allow resetting the logging level
if no-expect-message is mixed with explicitly setting up logging.

    NMTST_DEBUG='log-level=DEBUG,log-domains=ALL,no-expect-message' make check -C src/tests/config/
</pre>
</div>
</content>
</entry>
<entry>
<title>libnm/tests: fix memleaks in tests for valgrind</title>
<updated>2015-02-09T10:51:07+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2015-02-06T12:31:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=ae73320b8c861521cf628828bfbb481999c3d0fc'/>
<id>ae73320b8c861521cf628828bfbb481999c3d0fc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>all: add macro NM_DEFINE_SINGLETON_GETTER()</title>
<updated>2015-01-12T11:10:02+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2015-01-05T16:20:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=e725887c3a6b5ec4df460cfe1124a7c5b090a911'/>
<id>e725887c3a6b5ec4df460cfe1124a7c5b090a911</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: check for no pending expected_messages on exit of tests</title>
<updated>2015-01-07T21:47:27+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2015-01-07T19:32:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=bb90127c2a8980e02bb53340ab4bd25f0dfefea8'/>
<id>bb90127c2a8980e02bb53340ab4bd25f0dfefea8</id>
<content type='text'>
On the end of the test there should be no unchecked expected
messages. Register a destructor function in nmtst to assert
against that.

Also call nmtst_free() in the destructor. That way, we always release
the allocated data without requiring the test to do it explicitly.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
On the end of the test there should be no unchecked expected
messages. Register a destructor function in nmtst to assert
against that.

Also call nmtst_free() in the destructor. That way, we always release
the allocated data without requiring the test to do it explicitly.
</pre>
</div>
</content>
</entry>
<entry>
<title>all: move STRLEN() macro to global header nm-utils-internal.h</title>
<updated>2014-12-18T16:36:57+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2014-12-17T09:38:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=422fbf48b94d51d0a874e29b4f82726b1bca0c92'/>
<id>422fbf48b94d51d0a874e29b4f82726b1bca0c92</id>
<content type='text'>
https://bugzilla.gnome.org/show_bug.cgi?id=741651
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://bugzilla.gnome.org/show_bug.cgi?id=741651
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: mute coverity for CHECKED_RETURN (CWE-252) in tests</title>
<updated>2014-12-15T13:11:03+00:00</updated>
<author>
<name>Jiří Klimeš</name>
<email>jklimes@redhat.com</email>
</author>
<published>2014-12-12T13:42:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=6603e7ffde2b6a90206ea2e321cdff33d5b1c680'/>
<id>6603e7ffde2b6a90206ea2e321cdff33d5b1c680</id>
<content type='text'>
Error: CHECKED_RETURN (CWE-252): [#def12]
NetworkManager-0.9.11.0/libnm-core/tests/test-general.c:348: check_return: Calling "nm_setting_verify" without checking return value (as is done elsewhere 37 out of 45 times).
...
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Error: CHECKED_RETURN (CWE-252): [#def12]
NetworkManager-0.9.11.0/libnm-core/tests/test-general.c:348: check_return: Calling "nm_setting_verify" without checking return value (as is done elsewhere 37 out of 45 times).
...
</pre>
</div>
</content>
</entry>
<entry>
<title>libnm: remove nm_utils_init() from the public API</title>
<updated>2014-12-04T13:39:54+00:00</updated>
<author>
<name>Dan Winship</name>
<email>danw@redhat.com</email>
</author>
<published>2014-12-01T19:43:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=3b86cc047ebd895313d66125a25f5c3d3f8b594b'/>
<id>3b86cc047ebd895313d66125a25f5c3d3f8b594b</id>
<content type='text'>
Remove nm_utils_init() from the public API, and just do it as a
constructor instead.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove nm_utils_init() from the public API, and just do it as a
constructor instead.
</pre>
</div>
</content>
</entry>
<entry>
<title>glib-compat: sync local definition of g_clear_pointer() with upstream glib and remove atomic operations</title>
<updated>2014-11-12T10:11:41+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2014-11-12T09:54:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=dcb25a37a599c2f269228bc0060d2284a8d511ff'/>
<id>dcb25a37a599c2f269228bc0060d2284a8d511ff</id>
<content type='text'>
Upstream glib changed g_clear_pointer() not to use atomic functions.
Update or local definition to b1dd594a22e3499caafdeccd7fa223a032b9e177
glib/gmem.h (glib 2.41.3).

(fixup whitespace to match our style).

See also the related bug https://bugzilla.gnome.org/show_bug.cgi?id=733969
from glib.

Signed-off-by: Thomas Haller &lt;thaller@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Upstream glib changed g_clear_pointer() not to use atomic functions.
Update or local definition to b1dd594a22e3499caafdeccd7fa223a032b9e177
glib/gmem.h (glib 2.41.3).

(fixup whitespace to match our style).

See also the related bug https://bugzilla.gnome.org/show_bug.cgi?id=733969
from glib.

Signed-off-by: Thomas Haller &lt;thaller@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>core: fix new NMIP4Config and NMIP6Config properties</title>
<updated>2014-11-07T16:09:35+00:00</updated>
<author>
<name>Dan Winship</name>
<email>danw@gnome.org</email>
</author>
<published>2014-11-07T15:55:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=99d0fe3006c1435a7f11011392a106b50e45a4bb'/>
<id>99d0fe3006c1435a7f11011392a106b50e45a4bb</id>
<content type='text'>
The AddressData and RouteData marshalling code were still using the
types from an earlier version of the branch. Fix that.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The AddressData and RouteData marshalling code were still using the
types from an earlier version of the branch. Fix that.
</pre>
</div>
</content>
</entry>
<entry>
<title>all: add macro NM_IN_SET</title>
<updated>2014-11-07T14:19:05+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2014-10-31T20:57:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=6a59ab0b86e6e679780d6c67aadd454133783721'/>
<id>6a59ab0b86e6e679780d6c67aadd454133783721</id>
<content type='text'>
Copied from systemd's macro IN_SET from /src/shared/macro.h

Signed-off-by: Thomas Haller &lt;thaller@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Copied from systemd's macro IN_SET from /src/shared/macro.h

Signed-off-by: Thomas Haller &lt;thaller@redhat.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
