1 We need to test scripts with mangled Perl shebang.
3 --- pmtools-2.2.0/t/basepods.t.orig
4 +++ pmtools-2.2.0/t/basepods.t
6 $ENV{"PATH"} = 'blib/script:' . $ENV{"PATH"};
9 - $output = `bin/basepods 2>&1`;
10 + $output = `blib/script/basepods 2>&1`;
13 is($?, 0, "basepods runs");
14 --- pmtools-2.2.0/t/faqpods.t.orig
15 +++ pmtools-2.2.0/t/faqpods.t
17 $ENV{"PATH"} = 'blib/script:' . $ENV{"PATH"};
20 - $output = `bin/faqpods 2>&1`;
21 + $output = `blib/script/faqpods 2>&1`;
24 is($?, 0, "faqpods runs");
25 --- pmtools-2.2.0/t/modpods.t.orig
26 +++ pmtools-2.2.0/t/modpods.t
28 $ENV{"PATH"} = 'blib/script:' . $ENV{"PATH"};
31 - $output = `bin/modpods 2>&1`;
32 + $output = `blib/script/modpods 2>&1`;
35 is($?, 0, "modpods runs");
36 --- pmtools-2.2.0/t/pfcat.t.orig
37 +++ pmtools-2.2.0/t/pfcat.t
39 $ENV{"PATH"} = 'blib/script:' . $ENV{"PATH"};
42 - $output = `bin/pfcat seek 2>&1`;
43 + $output = `blib/script/pfcat seek 2>&1`;
46 is($?, 0, "pfcat runs");
47 --- pmtools-2.2.0/t/plxload.t.orig
48 +++ pmtools-2.2.0/t/plxload.t
50 $ENV{"PATH"} = 'blib/script:' . $ENV{"PATH"};
53 - $output = `bin/plxload bin/plxload 2>&1`;
54 + $output = `blib/script/plxload blib/script/plxload 2>&1`;
57 is($output, "", "modules loaded");
58 --- pmtools-2.2.0/t/pmall.t.orig
59 +++ pmtools-2.2.0/t/pmall.t
61 $ENV{"PATH"} = 'blib/script:' . $ENV{"PATH"};
64 - $output = `bin/pmall | t/head.pl 2>&1`;
65 + $output = `blib/script/pmall | t/head.pl 2>&1`;
68 is($?, 0, "pmall runs");
69 --- pmtools-2.2.0/t/pman.t.orig
70 +++ pmtools-2.2.0/t/pman.t
72 $ENV{"PATH"} = 'blib/script:' . $ENV{"PATH"};
75 - $output = `bin/pman Carp 2>&1`;
76 + $output = `blib/script/pman Carp 2>&1`;
79 is($?, 0, 'pman runs');
80 --- pmtools-2.2.0/t/pmcat.t.orig
81 +++ pmtools-2.2.0/t/pmcat.t
83 $ENV{"PATH"} = 'blib/script:' . $ENV{"PATH"};
86 - $output = `bin/pmcat Carp 2>&1`;
87 + $output = `blib/script/pmcat Carp 2>&1`;
90 is($?, 0, "pmcat runs");
91 --- pmtools-2.2.0/t/pmcheck.t.orig
92 +++ pmtools-2.2.0/t/pmcheck.t
94 $ENV{"PATH"} = 'blib/script:' . $ENV{"PATH"};
97 - $output = `bin/pmcheck 2>&1`;
98 + $output = `blib/script/pmcheck 2>&1`;
101 isnt($?, 127, "pmcheck runs");
102 --- pmtools-2.2.0/t/pmdesc.t.orig
103 +++ pmtools-2.2.0/t/pmdesc.t
108 - $output_unified = `bin/pmdesc Carp 2>&1`;
109 + $output_unified = `blib/script/pmdesc Carp 2>&1`;
114 - $output_split = `bin/pmdesc --splitpod Carp 2>&1`;
115 + $output_split = `blib/script/pmdesc --splitpod Carp 2>&1`;
119 --- pmtools-2.2.0/t/pmeth.t.orig
120 +++ pmtools-2.2.0/t/pmeth.t
122 $ENV{'PATH'} = 'blib/script:' . $ENV{PATH};
125 - $output = `bin/pmeth Tie::Hash 2>&1`;
126 + $output = `blib/script/pmeth Tie::Hash 2>&1`;
129 is($?, 0, "pmeth runs");
130 --- pmtools-2.2.0/t/pmexp.t.orig
131 +++ pmtools-2.2.0/t/pmexp.t
133 $ENV{"PATH"} = 'blib/script:' . $ENV{"PATH"};
136 - $output = `bin/pmexp Carp 2>&1`;
137 + $output = `blib/script/pmexp Carp 2>&1`;
140 is($?, 0, "pmexp runs");
141 --- pmtools-2.2.0/t/pmfunc.t.orig
142 +++ pmtools-2.2.0/t/pmfunc.t
144 $ENV{"PATH"} = 'blib/script:' . $ENV{"PATH"};
147 - $output = `bin/pmfunc Cwd::chdir 2>&1`;
148 + $output = `blib/script/pmfunc Cwd::chdir 2>&1`;
151 isnt($?, 127, "pmfunc runs");
152 --- pmtools-2.2.0/t/pmload.t.orig
153 +++ pmtools-2.2.0/t/pmload.t
155 $ENV{"PATH"} = 'blib/script:' . $ENV{"PATH"};
158 - $output = `bin/pmload Tie::Hash 2>&1`;
159 + $output = `blib/script/pmload Tie::Hash 2>&1`;
162 is($?, 0, "pmload runs");
163 --- pmtools-2.2.0/t/pmls.t.orig
164 +++ pmtools-2.2.0/t/pmls.t
166 $ENV{"PATH"} = 'blib/script:' . $ENV{"PATH"};
169 - $output = `bin/pmls Tie::Hash 2>&1`;
170 + $output = `blib/script/pmls Tie::Hash 2>&1`;
173 is($?, 0, "pmls runs");
174 --- pmtools-2.2.0/t/pmpath.t.orig
175 +++ pmtools-2.2.0/t/pmpath.t
177 $ENV{"PATH"} = 'blib/script:' . $ENV{"PATH"};
180 - $output = `bin/pmpath Tie::Hash 2>&1`;
181 + $output = `blib/script/pmpath Tie::Hash 2>&1`;
184 is($?, 0, "pmpath runs");
185 --- pmtools-2.2.0/t/pmvers.t.orig
186 +++ pmtools-2.2.0/t/pmvers.t
188 $ENV{"PATH"} = 'blib/script:' . $ENV{"PATH"};
191 - $output = `bin/pmvers Tie::Hash 2>&1`;
192 + $output = `blib/script/pmvers Tie::Hash 2>&1`;
195 is($?, 0, "pmvers runs");
196 --- pmtools-2.2.0/t/podgrep.t.orig
197 +++ pmtools-2.2.0/t/podgrep.t
199 $ENV{"PATH"} = 'blib/script:' . $ENV{"PATH"};
202 - $output = `bin/podgrep DESC bin/podgrep 2>&1`;
203 + $output = `blib/script/podgrep DESC blib/script/podgrep 2>&1`;
206 is($?, 0, "podgrep runs");
207 --- pmtools-2.2.0/t/pods.t.orig
208 +++ pmtools-2.2.0/t/pods.t
210 $ENV{"PATH"} = 'blib/script:' . $ENV{"PATH"};
213 - $output = `bin/pods 2>&1`;
214 + $output = `blib/script/pods 2>&1`;
217 is($?, 0, "pods runs");
218 --- pmtools-2.2.0/t/podtoc.t.orig
219 +++ pmtools-2.2.0/t/podtoc.t
221 $ENV{"PATH"} = 'blib/script:' . $ENV{"PATH"};
224 - $output = `bin/podtoc bin/podtoc 2>&1`;
225 + $output = `blib/script/podtoc bin/podtoc 2>&1`;
228 is($?, 0, "podtoc runs");
229 --- pmtools-2.2.0/t/sitepods.t.orig
230 +++ pmtools-2.2.0/t/sitepods.t
232 $ENV{"PATH"} = 'blib/script:' . $ENV{"PATH"};
235 - $output = `bin/sitepods 2>&1`;
236 + $output = `blib/script/sitepods 2>&1`;
239 is($?, 0, "sitepods runs");
240 --- pmtools-2.2.0/t/stdpods.t.orig
241 +++ pmtools-2.2.0/t/stdpods.t
243 $ENV{"PATH"} = 'blib/script:' . $ENV{"PATH"};
246 - $output = `bin/stdpods 2>&1`;
247 + $output = `blib/script/stdpods 2>&1`;
250 is($?, 0, "stdpods runs");