[libgnome2-gconf-perl] 04/06: autopkgtest: run smoke test with a dbus-daemon.

gregor herrmann gregoa at debian.org
Tue Aug 30 18:07:51 UTC 2016


This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch master
in repository libgnome2-gconf-perl.

commit ba10340258c1ac9b6ee5c341187654d08587d8bc
Author: gregor herrmann <gregoa at debian.org>
Date:   Tue Aug 30 20:03:46 2016 +0200

    autopkgtest: run smoke test with a dbus-daemon.
---
 debian/tests/pkg-perl/smoke-cleanup | 6 ++++++
 debian/tests/pkg-perl/smoke-env     | 1 +
 debian/tests/pkg-perl/smoke-setup   | 5 +++++
 3 files changed, 12 insertions(+)

diff --git a/debian/tests/pkg-perl/smoke-cleanup b/debian/tests/pkg-perl/smoke-cleanup
new file mode 100755
index 0000000..68450b2
--- /dev/null
+++ b/debian/tests/pkg-perl/smoke-cleanup
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+cd $TDIR
+
+kill $(cat pid.tmp)
+rm -f pid.tmp
diff --git a/debian/tests/pkg-perl/smoke-env b/debian/tests/pkg-perl/smoke-env
new file mode 100644
index 0000000..a0772f0
--- /dev/null
+++ b/debian/tests/pkg-perl/smoke-env
@@ -0,0 +1 @@
+DBUS_SESSION_BUS_ADDRESS="unix:abstract=$TDIR/dbus-libgnome2-gconf-perl"
diff --git a/debian/tests/pkg-perl/smoke-setup b/debian/tests/pkg-perl/smoke-setup
new file mode 100755
index 0000000..03fdc68
--- /dev/null
+++ b/debian/tests/pkg-perl/smoke-setup
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+cd $TDIR
+
+dbus-daemon --session --fork --address="unix:abstract=$TDIR/dbus-libgnome2-gconf-perl" --print-pid=4 4>pid.tmp

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libgnome2-gconf-perl.git



More information about the Pkg-perl-cvs-commits mailing list