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

