summaryrefslogtreecommitdiff
path: root/dev-perl/Log-Agent/files/Log-Agent-1.1.0-no-dot-inc.patch
blob: e46c0bda2a7dfa2f4df737708fd1a31f23ec7854 (plain)
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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
From f85b4f6c097338ff07c5736fbe77dd09d2bca289 Mon Sep 17 00:00:00 2001
From: Kent Fredric <kentnl@gentoo.org>
Date: Thu, 26 Oct 2017 21:02:47 +1300
Subject: Fix test failures due to '.' removal from @INC under Perl 5.26

when PERL_USE_UNSAFE_INC=0

Bug: https://bugs.gentoo.org/617050
Bug: https://rt.cpan.org/Ticket/Display.html?id=121459
Bug: https://github.com/mrogaski/Log-Agent/pull/13
---
 t/caller.t       | 2 +-
 t/carp.pl        | 4 ++--
 t/carp_default.t | 2 +-
 t/carp_file.t    | 2 +-
 t/carp_fork.t    | 2 +-
 t/carp_silent.t  | 2 +-
 t/default.t      | 2 +-
 t/default_exp.t  | 2 +-
 t/file.t         | 2 +-
 t/fork.t         | 2 +-
 t/priority.t     | 2 +-
 t/tag_callback.t | 2 +-
 t/tag_string.t   | 2 +-
 13 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/t/caller.t b/t/caller.t
index 6a14aa6..feb3c2c 100644
--- a/t/caller.t
+++ b/t/caller.t
@@ -14,7 +14,7 @@
 
 print "1..10\n";
 
-require 't/code.pl';
+require './t/code.pl';
 sub ok;
 
 use Log::Agent;
diff --git a/t/carp.pl b/t/carp.pl
index a4327e1..352f7d6 100644
--- a/t/carp.pl
+++ b/t/carp.pl
@@ -14,10 +14,10 @@
 
 print "1..11\n";
 
-require 't/code.pl';
+require './t/code.pl';
 sub ok;
 
-my $FILE = "t/carp.pl";
+my $FILE = "./t/carp.pl";
 
 package OTHER;
 use Log::Agent;
diff --git a/t/carp_default.t b/t/carp_default.t
index 293ddb7..819e438 100644
--- a/t/carp_default.t
+++ b/t/carp_default.t
@@ -20,4 +20,4 @@ select(ORIG_STDOUT);
 open(STDOUT, ">t/file.out") || die "can't redirect STDOUT: $!\n";
 open(STDERR, ">t/file.err") || die "can't redirect STDOUT: $!\n";
 
-do 't/carp.pl';
+do './t/carp.pl';
diff --git a/t/carp_file.t b/t/carp_file.t
index 9e5e9a3..8239d62 100644
--- a/t/carp_file.t
+++ b/t/carp_file.t
@@ -27,4 +27,4 @@ my $driver = Log::Agent::Driver::File->make(
 );
 logconfig(-driver => $driver);
 
-do 't/carp.pl';
+do './t/carp.pl';
diff --git a/t/carp_fork.t b/t/carp_fork.t
index c81a86b..dcf8131 100644
--- a/t/carp_fork.t
+++ b/t/carp_fork.t
@@ -29,4 +29,4 @@ my $driver = Log::Agent::Driver::Fork->make(
 );
 logconfig(-driver => $driver);
 
-do 't/carp.pl';
+do './t/carp.pl';
diff --git a/t/carp_silent.t b/t/carp_silent.t
index 6c7c8ca..c913308 100644
--- a/t/carp_silent.t
+++ b/t/carp_silent.t
@@ -14,7 +14,7 @@
 
 print "1..2\n";
 
-require 't/code.pl';
+require './t/code.pl';
 sub ok;
 
 use Log::Agent;
diff --git a/t/default.t b/t/default.t
index eadca93..73bab3a 100644
--- a/t/default.t
+++ b/t/default.t
@@ -14,7 +14,7 @@
 
 print "1..4\n";
 
-require 't/code.pl';
+require './t/code.pl';
 sub ok;
 
 use Log::Agent;
diff --git a/t/default_exp.t b/t/default_exp.t
index 5fc95b7..940e1eb 100644
--- a/t/default_exp.t
+++ b/t/default_exp.t
@@ -19,7 +19,7 @@
 
 print "1..8\n";
 
-require 't/code.pl';
+require './t/code.pl';
 sub ok;
 
 use Log::Agent;
diff --git a/t/file.t b/t/file.t
index 57caaba..e7487ee 100644
--- a/t/file.t
+++ b/t/file.t
@@ -15,7 +15,7 @@
 use Test::More;
 use Log::Agent;
 require Log::Agent::Driver::File;
-require 't/common.pl';
+require './t/common.pl';
 
 BEGIN { plan tests => 38 }
 
diff --git a/t/fork.t b/t/fork.t
index a943a89..5726ba2 100644
--- a/t/fork.t
+++ b/t/fork.t
@@ -14,7 +14,7 @@
 
 use strict;
 use Test;
-require 't/common.pl';
+require './t/common.pl';
 
 BEGIN { plan tests => 19 }
 
diff --git a/t/priority.t b/t/priority.t
index 3e5be89..3f6b2c4 100644
--- a/t/priority.t
+++ b/t/priority.t
@@ -14,7 +14,7 @@
 
 print "1..5\n";
 
-require 't/code.pl';
+require './t/code.pl';
 sub ok;
 
 use Log::Agent;
diff --git a/t/tag_callback.t b/t/tag_callback.t
index 64a1bd4..39b749d 100644
--- a/t/tag_callback.t
+++ b/t/tag_callback.t
@@ -12,7 +12,7 @@
 #
 ##########################################################################
 
-require 't/code.pl';
+require './t/code.pl';
 sub ok;
 
 eval "require Callback";
diff --git a/t/tag_string.t b/t/tag_string.t
index 843fc10..b4851c2 100644
--- a/t/tag_string.t
+++ b/t/tag_string.t
@@ -14,7 +14,7 @@
 
 print "1..2\n";
 
-require 't/code.pl';
+require './t/code.pl';
 sub ok;
 
 use Log::Agent;
-- 
2.14.3