[libtest-email-perl] 11/13: Create patch that fix number of skipped tests in some test files

Lucas Kanashiro kanashiro.duarte at gmail.com
Mon Dec 28 15:20:11 UTC 2015


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

kanashiro-guest pushed a commit to branch master
in repository libtest-email-perl.

commit e61475194bcdee27d7cff81f6b908e67c57f6d8e
Author: Lucas Kanashiro <kanashiro.duarte at gmail.com>
Date:   Mon Dec 28 12:14:11 2015 -0200

    Create patch that fix number of skipped tests in some test files
---
 debian/changelog                                 |  1 +
 debian/patches/fix_number_of_skipped_tests.patch | 52 ++++++++++++++++++++++++
 debian/patches/series                            |  1 +
 3 files changed, 54 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index cdb4a7e..f239379 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -39,6 +39,7 @@ libtest-email-perl (0.07-2) UNRELEASED; urgency=low
   * bump debhelper compatibility level to 9
   * Declare compliance with Debian policy 3.9.6
   * Add build dependency on libmail-pop3client-perl. Breaks autopkgtest.
+  * Create patch that fix number of skipped tests in some test files
 
  -- Lucas Kanashiro <kanashiro.duarte at gmail.com>  Fri, 25 Dec 2015 11:39:43 -0200
 
diff --git a/debian/patches/fix_number_of_skipped_tests.patch b/debian/patches/fix_number_of_skipped_tests.patch
new file mode 100644
index 0000000..a6fd59b
--- /dev/null
+++ b/debian/patches/fix_number_of_skipped_tests.patch
@@ -0,0 +1,52 @@
+Description: Fix number of skipped tests in some test files
+ In some test files have more skipped tests than planned, so this patch fix
+ this issue.
+Author: Lucas Kanashiro <kanashiro.duarte at gmail.com>
+Last-Updated: 2015-12-28
+Forwarded: https://rt.cpan.org/Ticket/Display.html?id=110703
+Bug: https://rt.cpan.org/Ticket/Display.html?id=110703
+
+--- a/t/01_login.t
++++ b/t/01_login.t
+@@ -10,7 +10,7 @@ BEGIN { use_ok('Test::POP3') };
+ my ($host, $user, $pass) = get_info();
+ 
+ SKIP: {
+-    skip 'No POP3 settings found', 2 unless $host;
++    skip 'No POP3 settings found', 1 unless $host;
+ 
+     my $pop3 = Test::POP3->new({
+         host    =>  $host,
+--- a/t/02_wait.t
++++ b/t/02_wait.t
+@@ -13,7 +13,7 @@ my ($host, $user, $pass, $smtp, $email)
+ 
+ 
+ SKIP: {
+-    skip 'No POP3 settings found', 5 unless $host;
++    skip 'No POP3 settings found', 4 unless $host;
+ 
+     my $pop3 = Test::POP3->new({
+         host    =>  $host,
+--- a/t/03_headers.t
++++ b/t/03_headers.t
+@@ -16,7 +16,7 @@ my ($host, $user, $pass, $smtp, $email)
+ $Test::Email::QUIET_DIAG = 1;
+ 
+ SKIP: {
+-    skip 'No POP3 settings found', 5 unless $host;
++    skip 'No POP3 settings found', 6 unless $host;
+     my $pop3 = Test::POP3->new({
+         host    =>  $host,
+         user    =>  $user,
+--- a/t/04_body.t
++++ b/t/04_body.t
+@@ -17,7 +17,7 @@ my ($host, $user, $pass, $smtp, $email)
+ $Test::Email::QUIET_DIAG = 1;
+ 
+ SKIP: {
+-    skip 'No POP3 settings found', 9 unless $host;
++    skip 'No POP3 settings found', 8 unless $host;
+     my $test = Test::POP3->new({
+         host    =>  $host,
+         user    =>  $user,
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..035d40e
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+fix_number_of_skipped_tests.patch

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



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