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

grinorcole-guest pushed a commit to branch master
in repository libmemcached-libmemcached-perl.

commit f02b9aaaefa63936ff99aca43beacb191002e15e
Author: Christopher Hoskin <christopher.hos...@gmail.com>
Date:   Sun Jan 31 15:09:09 2016 +0000

    Shut down memcached cleanly after autopkg tests
---
 debian/tests/pkg-perl/smoke-cleanup | 2 ++
 debian/tests/pkg-perl/smoke-setup   | 3 ++-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/debian/tests/pkg-perl/smoke-cleanup 
b/debian/tests/pkg-perl/smoke-cleanup
new file mode 100755
index 0000000..51e841a
--- /dev/null
+++ b/debian/tests/pkg-perl/smoke-cleanup
@@ -0,0 +1,2 @@
+PIDFILE=${TDIR}/m.pid
+[ ! -s $PIDFILE ] || /bin/kill `cat ${PIDFILE}`
diff --git a/debian/tests/pkg-perl/smoke-setup 
b/debian/tests/pkg-perl/smoke-setup
index ccd0076..2b301b8 100755
--- a/debian/tests/pkg-perl/smoke-setup
+++ b/debian/tests/pkg-perl/smoke-setup
@@ -1,2 +1,3 @@
 PERL_LIBMEMCACHED_TEST_PORT=${PERL_LIBMEMCACHED_TEST_SERVERS#127.0.0.1:}
-memcached -d -p $PERL_LIBMEMCACHED_TEST_PORT
+PIDFILE=${TDIR}/m.pid
+memcached -d -p $PERL_LIBMEMCACHED_TEST_PORT -P $PIDFILE

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

_______________________________________________
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to