summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2015-04-01 13:27:06 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2015-04-16 13:06:31 +0100
commit56e1448bed2622b91b71b1b9f4c0d351e45df67d (patch)
tree281ef87be4cf4141b5c92ce2371987346f6e8e30
parent4f4801346ef5a32c6b5bafc91383f3bb05c201a6 (diff)
name-test: remove unused die function
Reviewed-by: Philip Withnall <philip.withnall@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=89846
-rwxr-xr-xtest/name-test/run-test-systemserver.sh10
-rwxr-xr-xtest/name-test/run-test.sh12
2 files changed, 0 insertions, 22 deletions
diff --git a/test/name-test/run-test-systemserver.sh b/test/name-test/run-test-systemserver.sh
index 90c03723..403c0e5b 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 84379c4a..c0730bee 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