summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorWill Thompson <will.thompson@collabora.co.uk>2011-09-19 11:01:30 +0100
committerWill Thompson <will.thompson@collabora.co.uk>2011-09-21 19:27:13 +0100
commit5461261e185cab9784923683720149490107e0a5 (patch)
treef247e7fe3471ffb17af08f6290d7a74c6c07f6bd /tests
parent4aea67ec672ffbec19d7280bc6cd6b70cccd5607 (diff)
with-session-bus: print log file names
Diffstat (limited to 'tests')
-rw-r--r--tests/twisted/tools/with-session-bus.sh11
1 files changed, 7 insertions, 4 deletions
diff --git a/tests/twisted/tools/with-session-bus.sh b/tests/twisted/tools/with-session-bus.sh
index 1b8990e6..77abb853 100644
--- a/tests/twisted/tools/with-session-bus.sh
+++ b/tests/twisted/tools/with-session-bus.sh
@@ -90,14 +90,17 @@ if [ -n "$with_system_bus" ] ; then
fi
if [ -n "$WITH_SESSION_BUS_FORK_DBUS_MONITOR" ] ; then
- echo "Forking dbus-monitor $WITH_SESSION_BUS_FORK_DBUS_MONITOR_OPT" >&2
+ DBUS_MONITOR_LOG_FILE="$me-$$.dbus-monitor-logs"
+ echo "Running dbus-monitor $WITH_SESSION_BUS_FORK_DBUS_MONITOR_OPT" >&2
+ echo "Its output will be in $DBUS_MONITOR_LOG_FILE" >&2
dbus-monitor $WITH_SESSION_BUS_FORK_DBUS_MONITOR_OPT \
- > $me-$$.dbus-monitor-logs 2>&1 &
+ > $DBUS_MONITOR_LOG_FILE 2>&1 &
fi
if [ -n "$GABBLE_TEST_BUSTLE" ]; then
- echo "Forking bustle-dbus-monitor" >&2
- bustle-dbus-monitor > tools/$me-$$.bustle-logs 2>&1 &
+ BUSTLE_LOG_FILE="tools/$me-$$.bustle-logs"
+ echo "Running bustle-dbus-monitor; log file $BUSTLE_LOG_FILE" >&2
+ bustle-dbus-monitor > $BUSTLE_LOG_FILE 2>&1 &
fi
"$@" || e=$?