dbus/test
Simon McVittie f830e14d30 Use DBusString for all relocation and install-root code
This means we handle OOM correctly, and makes it obvious
that we are not overflowing buffers. This change does not
affect the actual content of the strings.

Instead of redefining DBUS_DATADIR to be a function call
(which hides the fact that DBUS_DATADIR is used),
this patch makes each use explicit: DBUS_DATADIR
is always the #define from configure or cmake, before
replacing the prefix.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=83539
Tested-by: Ralf Habacker <ralf.habacker@freenet.de>
Reviewed-by: Ralf Habacker <ralf.habacker@freenet.de>
2015-10-05 16:29:29 +01:00
..
data Add a regression test for connecting to XDG_RUNTIME_DIR/bus by default 2015-02-24 11:15:31 +00:00
internals test-shell, test-printf: produce TAP output like the other installable tests 2015-04-16 13:06:13 +01:00
name-test Move Autoconf/Automake droppings into /build-aux/ 2015-04-16 13:06:33 +01:00
.gitignore Update .gitignore files 2015-02-03 15:40:01 +00:00
break-loader.c Remove DBUS_COMPILATION from test source code 2013-09-13 13:44:09 +01:00
corrupt.c tests: avoid noise on stdout when not --verbose 2015-04-16 13:05:37 +01:00
dbus-daemon-eavesdrop.c Add a common test_init() for GLib tests which prevents hanging forever 2015-02-04 17:15:36 +00:00
dbus-daemon.c tests: avoid noise on stdout when not --verbose 2015-04-16 13:05:37 +01:00
dbus-test-runner Add support for installing most of the modular tests 2011-06-10 18:32:35 +01:00
fdpass.c Turn DBusSocket into a type-safe struct, preventing inappropriate conversion 2015-05-12 18:35:56 +01:00
glib-tap-test.sh Run most tests under the TAP driver, with a simple adaptor for non-TAP tests 2015-04-16 13:06:29 +01:00
loopback.c tests: avoid noise on stdout when not --verbose 2015-04-16 13:05:37 +01:00
Makefile.am Distribute tap-test.sh.in unconditionally 2015-08-25 16:42:15 +01:00
manual-authz.c tests: reassure clang that oom() does in fact not return 2015-02-24 11:14:02 +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 Use DBusString for all relocation and install-root code 2015-10-05 16:29:29 +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 Add test-case for the same situation as fd.o #90952 2015-07-21 16:52:23 +01:00
relay.c tests: avoid noise on stdout when not --verbose 2015-04-16 13:05:37 +01:00
sd-activation.c Add a regression test for making systemd activation appear to fail 2015-02-09 11:06:38 +00:00
shell-test.c test_command_line_internal: Fix variable original_argv going out of scope leaks the storage it points to (CID 60588). 2015-05-01 23:05:14 +02:00
spawn-test.c DBusBabysitter: change executable to log_name 2013-11-01 12:40:41 +00: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-exit.c Include config.h as the first thing in every .c file 2013-02-22 13:08:27 +00:00
test-names.c Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
test-segfault.c On Linux, call prctl to disable core dumps 2014-09-15 11:50:48 +01:00
test-service.c Fix of 'warning: variable ‘..‘ set but not used [-Wunused-but-set-variable]'. 2015-03-17 16:52:51 +01:00
test-shell-service.c Revert all changes since a36d4918a6 2012-01-04 17:44:23 +00: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 tests: use the new bus setup for make installcheck 2015-06-17 16:06:53 +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 tests: always use libdbus-internal for main loop, never dbus-glib 2015-02-20 20:49:32 +00: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 Add a common test_init() for GLib tests which prevents hanging forever 2015-02-04 17:15:36 +00:00
unused-code-gc.py 2005-01-16 Havoc Pennington <hp@redhat.com> 2005-01-17 03:53:40 +00:00