r15670 - in /trunk/libnet-rawip-perl/debian: changelog patches/series patches/tests_no_internet.patch patches/tests_no_network.patch rules
gregoa-guest at users.alioth.debian.org
gregoa-guest at users.alioth.debian.org
Tue Feb 26 21:44:33 UTC 2008
Author: gregoa-guest
Date: Tue Feb 26 21:44:33 2008
New Revision: 15670
URL: http://svn.debian.org/wsvn/?sc=1&rev=15670
Log:
change tests_no_internet.patch to tests_no_network.patch: disable all network tests optionally
Added:
trunk/libnet-rawip-perl/debian/patches/tests_no_network.patch
Removed:
trunk/libnet-rawip-perl/debian/patches/tests_no_internet.patch
Modified:
trunk/libnet-rawip-perl/debian/changelog
trunk/libnet-rawip-perl/debian/patches/series
trunk/libnet-rawip-perl/debian/rules
Modified: trunk/libnet-rawip-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libnet-rawip-perl/debian/changelog?rev=15670&op=diff
==============================================================================
--- trunk/libnet-rawip-perl/debian/changelog (original)
+++ trunk/libnet-rawip-perl/debian/changelog Tue Feb 26 21:44:33 2008
@@ -1,14 +1,12 @@
libnet-rawip-perl (0.23-2) UNRELEASED; urgency=low
- TODO: the mentioned patch seems to work, please check for sanity
-
* Add libtest-pod-perl, libtest-pod-coverage-perl,
libtest-perl-critic-perl, libproc-processtable-perl to Build-Depends to
enable additional tests.
- * Add patch tests_no_internet.patch to run a test in t/iflist.t only if
- NOINTERNET is not set (closes: #467591). Add quilt framework.
+ * Add patch tests_no_network.patch to skip tests in t/iflist.t if
+ NONETWORK is set (closes: #467591). Add quilt framework.
- -- gregor herrmann <gregor+debian at comodo.priv.at> Tue, 26 Feb 2008 18:41:26 +0100
+ -- gregor herrmann <gregor+debian at comodo.priv.at> Tue, 26 Feb 2008 22:43:53 +0100
libnet-rawip-perl (0.23-1) unstable; urgency=low
Modified: trunk/libnet-rawip-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/trunk/libnet-rawip-perl/debian/patches/series?rev=15670&op=diff
==============================================================================
--- trunk/libnet-rawip-perl/debian/patches/series (original)
+++ trunk/libnet-rawip-perl/debian/patches/series Tue Feb 26 21:44:33 2008
@@ -1,1 +1,1 @@
-tests_no_internet.patch
+tests_no_network.patch
Added: trunk/libnet-rawip-perl/debian/patches/tests_no_network.patch
URL: http://svn.debian.org/wsvn/trunk/libnet-rawip-perl/debian/patches/tests_no_network.patch?rev=15670&op=file
==============================================================================
--- trunk/libnet-rawip-perl/debian/patches/tests_no_network.patch (added)
+++ trunk/libnet-rawip-perl/debian/patches/tests_no_network.patch Tue Feb 26 21:44:33 2008
@@ -1,0 +1,15 @@
+--- libnet-rawip-perl.orig/t/iflist.t
++++ libnet-rawip-perl/t/iflist.t
+@@ -4,7 +4,11 @@
+
+ use Test::More;
+ my $tests;
+-plan tests => $tests;
++if ( $ENV{NONETWORK} ) {
++ plan skip_all => 'Network tests disabled';
++} else {
++ plan tests => $tests;
++}
+
+ use Data::Dumper qw(Dumper);
+ use English qw( -no_match_vars );
Modified: trunk/libnet-rawip-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libnet-rawip-perl/debian/rules?rev=15670&op=diff
==============================================================================
--- trunk/libnet-rawip-perl/debian/rules (original)
+++ trunk/libnet-rawip-perl/debian/rules Tue Feb 26 21:44:33 2008
@@ -7,4 +7,4 @@
DEB_INSTALL_EXAMPLES_libnet-rawip-perl := examples/* README.Devel
-DEB_MAKE_ENVVARS = NOINTERNET=1
+DEB_MAKE_ENVVARS = NONETWORK=1
More information about the Pkg-perl-cvs-commits
mailing list