name-test: remove unused die function
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Wed, 1 Apr 2015 12:27:06 +0000 (13:27 +0100)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Thu, 16 Apr 2015 12:06:31 +0000 (13:06 +0100)
Reviewed-by: Philip Withnall <philip.withnall@collabora.co.uk>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=89846

test/name-test/run-test-systemserver.sh
test/name-test/run-test.sh

index 90c0372..403c0e5 100755 (executable)
@@ -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
index 84379c4..c0730be 100755 (executable)
@@ -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