[libnmap-parser-perl] 01/07: Convert to source format "3.0 (quilt)"
Axel Beckert
abe at deuxchevaux.org
Wed Nov 9 21:57:10 UTC 2016
This is an automated email from the git hooks/post-receive script.
abe pushed a commit to branch master
in repository libnmap-parser-perl.
commit 80ffe346dda649f5637cf67286cc72f4055781af
Author: Axel Beckert <abe at deuxchevaux.org>
Date: Wed Nov 9 22:41:39 2016 +0100
Convert to source format "3.0 (quilt)"
Extract sole patch against t/scanner.t.
---
debian/changelog | 2 ++
.../patches/dont-run-parsescan-in-testsuite.patch | 30 ++++++++++++++++++++++
debian/patches/series | 1 +
t/scanner.t | 6 ++---
4 files changed, 36 insertions(+), 3 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index e266114..89dce9d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,8 @@ libnmap-parser-perl (1.05-3) UNRELEASED; urgency=medium
+ Change Maintainer to Debian Perl Group.
+ Add debian/watch.
* Add myself as Uploader.
+ * Convert to source format "3.0 (quilt)"
+ + Extract sole patch against t/scanner.t.
-- Axel Beckert <abe at debian.org> Wed, 09 Nov 2016 21:55:14 +0100
diff --git a/debian/patches/dont-run-parsescan-in-testsuite.patch b/debian/patches/dont-run-parsescan-in-testsuite.patch
new file mode 100644
index 0000000..d045432
--- /dev/null
+++ b/debian/patches/dont-run-parsescan-in-testsuite.patch
@@ -0,0 +1,30 @@
+Description: Don't run parsescan in test suite
+Author: Joshua D. Abraham <jabra at ccs.neu.edu>
+
+--- libnmap-parser-perl-1.05.orig/t/scanner.t
++++ libnmap-parser-perl-1.05/t/scanner.t
+@@ -5,7 +5,7 @@
+ use blib;
+ use File::Spec;
+ use Cwd;
+-use Test::More tests => 3;
++use Test::More tests => 2;
+ use constant IP => '127.0.0.1';
+
+ use Nmap::Parser;
+@@ -19,7 +19,7 @@
+ skip '[Nmap-Parser] Could not find nmap executable in path',2 if($nmap_path eq '');
+ ok($nmap_path,"Exe Path: $nmap_path");
+ skip "[Nmap-Parser] No self scanning with MSWin32",1 if($^O eq 'MSWin32' || $^O =~ /cygwin/);
+-ok($np->parsescan($nmap_path,'',IP),'Running parsescan against '.IP);
++#ok($np->parsescan($nmap_path,'',IP),'Running parsescan against '.IP);
+ }
+
+
+@@ -50,4 +50,4 @@
+ }
+ }
+
+-}
+\ No newline at end of file
++}
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..16d7ec4
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+dont-run-parsescan-in-testsuite.patch
diff --git a/t/scanner.t b/t/scanner.t
index 8c9b846..6efab2a 100755
--- a/t/scanner.t
+++ b/t/scanner.t
@@ -5,7 +5,7 @@ use strict;
use blib;
use File::Spec;
use Cwd;
-use Test::More tests => 2;
+use Test::More tests => 3;
use constant IP => '127.0.0.1';
use Nmap::Parser;
@@ -19,7 +19,7 @@ SKIP: {
skip '[Nmap-Parser] Could not find nmap executable in path',2 if($nmap_path eq '');
ok($nmap_path,"Exe Path: $nmap_path");
skip "[Nmap-Parser] No self scanning with MSWin32",1 if($^O eq 'MSWin32' || $^O =~ /cygwin/);
-#ok($np->parsescan($nmap_path,'',IP),'Running parsescan against '.IP);
+ok($np->parsescan($nmap_path,'',IP),'Running parsescan against '.IP);
}
@@ -50,4 +50,4 @@ sub find_nmap {
}
}
-}
+}
\ No newline at end of file
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libnmap-parser-perl.git
More information about the Pkg-perl-cvs-commits
mailing list