From: Simon McVittie Date: Wed, 1 Apr 2015 12:27:06 +0000 (+0100) Subject: name-test: remove unused die function X-Git-Tag: dbus-1.9.16~48 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=56e1448bed2622b91b71b1b9f4c0d351e45df67d;p=thirdparty%2Fdbus.git name-test: remove unused die function Reviewed-by: Philip Withnall Bug: https://bugs.freedesktop.org/show_bug.cgi?id=89846 --- diff --git a/test/name-test/run-test-systemserver.sh b/test/name-test/run-test-systemserver.sh index 90c037234..403c0e5b7 100755 --- a/test/name-test/run-test-systemserver.sh +++ b/test/name-test/run-test-systemserver.sh @@ -1,14 +1,4 @@ #! /bin/sh -die() -{ - if ! test -z "$DBUS_SESSION_BUS_PID" ; then - echo "killing message bus "$DBUS_SESSION_BUS_PID >&2 - kill -9 $DBUS_SESSION_BUS_PID - fi - echo $SCRIPTNAME: $* >&2 - - exit 1 -} SCRIPTNAME=$0 MODE=$1 diff --git a/test/name-test/run-test.sh b/test/name-test/run-test.sh index 84379c4a1..c0730bee8 100755 --- a/test/name-test/run-test.sh +++ b/test/name-test/run-test.sh @@ -1,17 +1,5 @@ #! /bin/sh -die() -{ - if ! test -z "$DBUS_SESSION_BUS_PID" ; then - echo "killing message bus "$DBUS_SESSION_BUS_PID >&2 - kill -9 $DBUS_SESSION_BUS_PID - fi - echo $SCRIPTNAME: $* >&2 - - exit 1 -} - - SCRIPTNAME=$0 MODE=$1