summaryrefslogtreecommitdiff
path: root/dbus/dbus-spawn.h
diff options
context:
space:
mode:
authorSimon McVittie <smcv@collabora.com>2017-11-14 16:41:23 +0000
committerSimon McVittie <smcv@collabora.com>2017-11-15 12:12:27 +0000
commitfc30e312ea98b3765983be03fcb08ae64ee48b2d (patch)
tree3f2a0d8ac91610242cb381d85dae3cdb1e1a26c8 /dbus/dbus-spawn.h
parent39ef65d07d2475c43ae6d46e251cc62010d4c27f (diff)
downloaddbus-fc30e312ea98b3765983be03fcb08ae64ee48b2d.tar.gz
bus: Silence the output of the test services when doing OOM testing
The echo service frequently fails to connect to the bus when we are testing OOM code paths, again causing a lot of noise in the log. Reviewed-by: Philip Withnall <withnall@endlessm.com> Signed-off-by: Simon McVittie <smcv@collabora.com> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=103601
Diffstat (limited to 'dbus/dbus-spawn.h')
-rw-r--r--dbus/dbus-spawn.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/dbus/dbus-spawn.h b/dbus/dbus-spawn.h
index b34324de..a5450d6e 100644
--- a/dbus/dbus-spawn.h
+++ b/dbus/dbus-spawn.h
@@ -40,6 +40,7 @@ typedef void (* DBusBabysitterFinishedFunc) (DBusBabysitter *sitter,
typedef enum {
DBUS_SPAWN_REDIRECT_OUTPUT = (1 << 0),
+ DBUS_SPAWN_SILENCE_OUTPUT = (1 << 1),
DBUS_SPAWN_NONE = 0
} DBusSpawnFlags;