r4402 - in /packages/libsys-syslog-perl/trunk: debian/changelog
debian/control debian/rules t/syslog.t
ntyni-guest at users.alioth.debian.org
ntyni-guest at users.alioth.debian.org
Sun Nov 26 22:18:14 CET 2006
Author: ntyni-guest
Date: Sun Nov 26 22:18:14 2006
New Revision: 4402
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=4402
Log:
skip tests that require a running syslogd.
Modified:
packages/libsys-syslog-perl/trunk/debian/changelog
packages/libsys-syslog-perl/trunk/debian/control
packages/libsys-syslog-perl/trunk/debian/rules
packages/libsys-syslog-perl/trunk/t/syslog.t
Modified: packages/libsys-syslog-perl/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libsys-syslog-perl/trunk/debian/changelog?rev=4402&op=diff
==============================================================================
--- packages/libsys-syslog-perl/trunk/debian/changelog (original)
+++ packages/libsys-syslog-perl/trunk/debian/changelog Sun Nov 26 22:18:14 2006
@@ -1,5 +1,6 @@
libsys-syslog-perl (0.18-2) unstable; urgency=low
+ [ gregor herrmann ]
* New maintainer: Debian Perl Group.
* Set debhelper compatibility level to 5.
* Fix watch file.
@@ -7,7 +8,11 @@
* Add libtest-pod-perl and libtest-pod-coverage-perl to Build-Depends.
* Don't ignore errors of $(MAKE) clean.
- -- gregor herrmann <gregor+debian at comodo.priv.at> Fri, 24 Nov 2006 21:56:44 +0100
+ [ Niko Tyni ]
+ * t/syslog.t: skip tests that require a running syslogd.
+ * Don't ignore the result of '$(MAKE) test'.
+
+ -- Niko Tyni <ntyni at iki.fi> Sun, 26 Nov 2006 23:16:13 +0200
libsys-syslog-perl (0.18-1) unstable; urgency=low
Modified: packages/libsys-syslog-perl/trunk/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libsys-syslog-perl/trunk/debian/control?rev=4402&op=diff
==============================================================================
--- packages/libsys-syslog-perl/trunk/debian/control (original)
+++ packages/libsys-syslog-perl/trunk/debian/control Sun Nov 26 22:18:14 2006
@@ -2,7 +2,7 @@
Section: perl
Priority: optional
Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
-Uploaders: gregor herrmann <gregor+debian at comodo.priv.at>
+Uploaders: gregor herrmann <gregor+debian at comodo.priv.at>, Niko Tyni <ntyni at iki.fi>
XS-Vcs-Svn: svn://svn.debian.org/pkg-perl/packages/libsys-syslog-perl/trunk/
Build-Depends: debhelper (>= 5), perl, libtest-pod-coverage-perl, libtest-pod-perl
Standards-Version: 3.7.2
Modified: packages/libsys-syslog-perl/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libsys-syslog-perl/trunk/debian/rules?rev=4402&op=diff
==============================================================================
--- packages/libsys-syslog-perl/trunk/debian/rules (original)
+++ packages/libsys-syslog-perl/trunk/debian/rules Sun Nov 26 22:18:14 2006
@@ -16,7 +16,7 @@
dh_testdir
$(PERL) Makefile.PL
$(MAKE)
- -$(MAKE) test
+ $(MAKE) test
touch build-stamp
clean:
Modified: packages/libsys-syslog-perl/trunk/t/syslog.t
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libsys-syslog-perl/trunk/t/syslog.t?rev=4402&op=diff
==============================================================================
--- packages/libsys-syslog-perl/trunk/t/syslog.t (original)
+++ packages/libsys-syslog-perl/trunk/t/syslog.t Sun Nov 26 22:18:14 2006
@@ -179,9 +179,12 @@
BEGIN { $tests += 10 }
# setlogsock() with "stream" and an undef path
-$r = eval { setlogsock("stream", undef ) } || '';
-is( $@, '', "setlogsock() called, with 'stream' and an undef path" );
-ok( $r, "setlogsock() should return true: '$r'" );
+SKIP: {
+ skip "syslogd not running", 2 unless ( -w "/dev/log" );
+ $r = eval { setlogsock("stream", undef ) } || '';
+ is( $@, '', "setlogsock() called, with 'stream' and an undef path" );
+ ok( $r, "setlogsock() should return true: '$r'" );
+}
# setlogsock() with "stream" and an empty path
$r = eval { setlogsock("stream", '' ) } || '';
More information about the Pkg-perl-cvs-commits
mailing list