[libconfig-crontab-perl] 01/04: Patch the test suite work without cwd in @INC

Niko Tyni ntyni at moszumanska.debian.org
Sat Sep 17 10:38:30 UTC 2016


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

ntyni pushed a commit to branch master
in repository libconfig-crontab-perl.

commit 3cc708beacdf35f2d62bb0fadcd3f5e122f4fa5f
Author: Niko Tyni <ntyni at debian.org>
Date:   Sat Sep 17 11:51:33 2016 +0300

    Patch the test suite work without cwd in @INC
    
    Closes: #837131
---
 ...ke-the-test-suite-work-without-cwd-in-INC.patch | 138 +++++++++++++++++++++
 debian/patches/series                              |   1 +
 2 files changed, 139 insertions(+)

diff --git a/debian/patches/0001-Make-the-test-suite-work-without-cwd-in-INC.patch b/debian/patches/0001-Make-the-test-suite-work-without-cwd-in-INC.patch
new file mode 100644
index 0000000..48ef6d4
--- /dev/null
+++ b/debian/patches/0001-Make-the-test-suite-work-without-cwd-in-INC.patch
@@ -0,0 +1,138 @@
+From 0d1901cbd63f3f0866ddb730ea80446f47d5667b Mon Sep 17 00:00:00 2001
+From: Niko Tyni <ntyni at debian.org>
+Date: Sat, 17 Sep 2016 11:51:33 +0300
+Subject: [PATCH] Make the test suite work without cwd in @INC
+
+Bug-Debian: https://bugs.debian.org/837131
+---
+ t/01_comment.t  | 2 +-
+ t/02_env.t      | 2 +-
+ t/03_event.t    | 2 +-
+ t/04_block.t    | 2 +-
+ t/05_crontab.t  | 2 +-
+ t/06_synopsis.t | 2 +-
+ t/07_write.t    | 2 +-
+ t/08_crashme.t  | 2 +-
+ t/09_remove.t   | 2 +-
+ 9 files changed, 9 insertions(+), 9 deletions(-)
+
+diff --git a/t/01_comment.t b/t/01_comment.t
+index b4ae306..7776c2a 100644
+--- a/t/01_comment.t
++++ b/t/01_comment.t
+@@ -3,7 +3,7 @@ use Test::More;
+ use blib;
+ 
+ chdir 't' if -d 't';
+-require 'setup.pl';
++require './setup.pl';
+ 
+ unless( have_crontab() ) {
+     plan skip_all => "no crontab available";
+diff --git a/t/02_env.t b/t/02_env.t
+index eda7a88..3a5ddce 100644
+--- a/t/02_env.t
++++ b/t/02_env.t
+@@ -3,7 +3,7 @@ use Test::More;
+ use blib;
+ 
+ chdir 't' if -d 't';
+-require 'setup.pl';
++require './setup.pl';
+ 
+ unless( have_crontab() ) {
+     plan skip_all => "no crontab available";
+diff --git a/t/03_event.t b/t/03_event.t
+index 7b7402d..0a864fc 100644
+--- a/t/03_event.t
++++ b/t/03_event.t
+@@ -3,7 +3,7 @@ use Test::More;
+ use blib;
+ 
+ chdir 't' if -d 't';
+-require 'setup.pl';
++require './setup.pl';
+ 
+ unless( have_crontab() ) {
+     plan skip_all => "no crontab available";
+diff --git a/t/04_block.t b/t/04_block.t
+index e57bb23..d2eca39 100644
+--- a/t/04_block.t
++++ b/t/04_block.t
+@@ -3,7 +3,7 @@ use Test::More;
+ use blib;
+ 
+ chdir 't' if -d 't';
+-require 'setup.pl';
++require './setup.pl';
+ 
+ unless( have_crontab() ) {
+     plan skip_all => "no crontab available";
+diff --git a/t/05_crontab.t b/t/05_crontab.t
+index 6c6ac46..1b24fe5 100644
+--- a/t/05_crontab.t
++++ b/t/05_crontab.t
+@@ -3,7 +3,7 @@ use Test::More;
+ use blib;
+ 
+ chdir 't' if -d 't';
+-require 'setup.pl';
++require './setup.pl';
+ 
+ unless( have_crontab() ) {
+     plan skip_all => "no crontab available";
+diff --git a/t/06_synopsis.t b/t/06_synopsis.t
+index 0a95940..5536429 100644
+--- a/t/06_synopsis.t
++++ b/t/06_synopsis.t
+@@ -3,7 +3,7 @@ use Test::More;
+ use blib;
+ 
+ chdir 't' if -d 't';
+-require 'setup.pl';
++require './setup.pl';
+ 
+ unless( have_crontab() ) {
+     plan skip_all => "no crontab available";
+diff --git a/t/07_write.t b/t/07_write.t
+index 50768bf..6df9be8 100644
+--- a/t/07_write.t
++++ b/t/07_write.t
+@@ -3,7 +3,7 @@ use Test::More;
+ use blib;
+ 
+ chdir 't' if -d 't';
+-require 'setup.pl';
++require './setup.pl';
+ 
+ unless( have_crontab() ) {
+     plan skip_all => "no crontab available";
+diff --git a/t/08_crashme.t b/t/08_crashme.t
+index c9a8943..8db9799 100644
+--- a/t/08_crashme.t
++++ b/t/08_crashme.t
+@@ -3,7 +3,7 @@ use Test::More;
+ use blib;
+ 
+ chdir 't' if -d 't';
+-require 'setup.pl';
++require './setup.pl';
+ 
+ unless( have_crontab() ) {
+     plan skip_all => "no crontab available";
+diff --git a/t/09_remove.t b/t/09_remove.t
+index b86c2ab..91357e3 100644
+--- a/t/09_remove.t
++++ b/t/09_remove.t
+@@ -3,7 +3,7 @@ use Test::More;
+ use blib;
+ 
+ chdir 't' if -d 't';
+-require 'setup.pl';
++require './setup.pl';
+ 
+ unless( have_crontab() ) {
+     plan skip_all => "no crontab available";
+-- 
+2.9.3
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..90a9b88
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Make-the-test-suite-work-without-cwd-in-INC.patch

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



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