1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138
|
From 0d1901cbd63f3f0866ddb730ea80446f47d5667b Mon Sep 17 00:00:00 2001
From: Niko Tyni <ntyni@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
|