dbus/test
Philip Withnall f88c8a8c39 test: Simplify error checking path in test-service slightly
This should shut up Coverity from complaining about not checking the
return value of dbus_set_error_from_message(), which is equivalent to
the (type == DBUS_MESSAGE_TYPE_ERROR) check.

Coverity ID: 54697
Signed-off-by: Philip Withnall <withnall@endlessm.com>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=99723
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2017-02-13 16:03:05 +00:00
..
data Activation test: exercise what happens with nonexistent AppArmor labels 2016-11-28 12:11:56 +00:00
internals Add more _DBUS_GNUC_PRINTF annotations 2016-11-10 11:46:33 +00:00
name-test test: Add some OOM paths to the test-privserver test 2017-02-13 16:01:56 +00:00
.gitignore Update .gitignore files 2015-02-03 15:40:01 +00:00
break-loader.c Remove trailing newlines from _dbus_assert_not_reached 2016-08-12 17:11:48 +01:00
corrupt.c tests: avoid noise on stdout when not --verbose 2015-04-16 13:05:37 +01:00
dbus-daemon-eavesdrop.c test: Add some OOM paths to the dbus-daemon-eavesdrop path 2017-02-13 14:54:05 +00:00
dbus-daemon.c Make uid 0 immune to pending_fd_timeout limit 2016-11-11 16:40:44 +00:00
dbus-test-runner Add support for installing most of the modular tests 2011-06-10 18:32:35 +01:00
fdpass.c various tests: produce better diagnostics on error 2016-08-12 10:25:06 +01:00
glib-tap-test.sh When running TAP tests, filter out trailing \r from Windows .exe 2015-10-29 05:50:27 +01:00
loopback.c tests: avoid noise on stdout when not --verbose 2015-04-16 13:05:37 +01:00
Makefile.am Activation test: exercise what happens with nonexistent AppArmor labels 2016-11-28 12:11:56 +00:00
manual-authz.c tests: reassure clang that oom() does in fact not return 2015-02-24 11:14:02 +00:00
manual-backtrace.c manual-backtrace: use proper prototypes, and make functions static 2015-11-17 15:32:43 +00:00
manual-dir-iter.c Add directory test application 'manual-dir-iter' to cmake and autotools build system. 2014-09-08 14:33:37 +00:00
manual-paths.c Fix function declarations 2016-10-10 15:09:28 +01:00
manual-tcp.c Add manual tcp test case. 2015-01-30 09:33:40 +01:00
marshal.c Add a common test_init() for GLib tests which prevents hanging forever 2015-02-04 17:15:36 +00:00
monitor.c various tests: produce better diagnostics on error 2016-08-12 10:25:06 +01:00
relay.c tests: avoid noise on stdout when not --verbose 2015-04-16 13:05:37 +01:00
sd-activation.c activation test: don't crash if AppArmor is built but unavailable 2016-11-29 12:32:40 +00:00
shell-test.c shell-test: Calling _dbus_string_init without checking return value (CID 60587). 2015-11-12 23:07:30 +01:00
spawn-test.c Only redirect child processes to systemd Journal if using syslog 2016-09-30 19:36:50 +01:00
syntax.c Add a common test_init() for GLib tests which prevents hanging forever 2015-02-04 17:15:36 +00:00
tap-test.sh.in Run most tests under the TAP driver, with a simple adaptor for non-TAP tests 2015-04-16 13:06:29 +01:00
test-apparmor-activation.sh Add an integration test for AppArmor mediating activation 2016-11-28 12:11:52 +00:00
test-dbus-daemon-fork.sh test-dbus-daemon-fork: exercise closed stdin, stdout, stderr 2016-08-12 18:21:36 +01:00
test-dbus-launch-eval.sh test: expand dbus-launch-eval test to cover stdin being closed 2016-08-12 18:21:36 +01:00
test-dbus-launch-x11.sh Add a regression test for dbus-launch in X11 2016-08-12 18:21:36 +01:00
test-exit.c Include config.h as the first thing in every .c file 2013-02-22 13:08:27 +00:00
test-names.c Add missing function attributes suggested by clang (but not by gcc) 2016-10-13 22:44:13 +01:00
test-segfault.c test-segfault: mark exception_handler as NORETURN 2016-10-13 22:44:13 +01:00
test-service.c test: Simplify error checking path in test-service slightly 2017-02-13 16:03:05 +00:00
test-shell-service.c Add missing function attributes suggested by clang (but not by gcc) 2016-10-13 22:44:13 +01:00
test-sleep-forever.c fix warning, use Sleep, not _sleep on windows (cherry picked from commit ea36c743ad60a2dd5c6286571d1a475903519809) 2009-11-30 12:00:14 +01:00
test-utils-glib.c Add missing function attributes suggested by clang (but not by gcc) 2016-10-13 22:44:13 +01:00
test-utils-glib.h tests: provide g_test_skip() emulation for older GLib 2015-04-16 13:06:07 +01:00
test-utils.c Add missing function attributes suggested by clang (but not by gcc) 2016-10-13 22:44:13 +01:00
test-utils.h tests: always use libdbus-internal for main loop, never dbus-glib 2015-02-20 20:49:32 +00:00
uid-permissions.c uid-permissions test: don't assert that root can UpdateActivationEnvironment 2015-11-23 20:59:48 +00:00
unused-code-gc.py 2005-01-16 Havoc Pennington <hp@redhat.com> 2005-01-17 03:53:40 +00:00