projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6e1fb8
)
[perl #116971] avoid feeding manisort a bad @INC
author
Tony Cook
<tony@develop-help.com>
Tue, 14 Jan 2014 05:53:40 +0000
(16:53 +1100)
committer
Tony Cook
<tony@develop-help.com>
Tue, 14 Jan 2014 05:53:40 +0000
(16:53 +1100)
the C<< use TestInit qw(T) >> in manifest.t both changes to the
build tree *and* initializes $ENV{PERL5LIB} to "lib", so there's
no need fo runperl() to supply (an incorrect) -I.. when running
manisort.
t/porting/manifest.t
patch
|
blob
|
history
diff --git
a/t/porting/manifest.t
b/t/porting/manifest.t
index
b8c63c5
..
c367fc7
100644
(file)
--- a/
t/porting/manifest.t
+++ b/
t/porting/manifest.t
@@
-71,7
+71,8
@@
SKIP: {
my $result = runperl('progfile' => 'Porting/manisort',
'args' => [ '-c', $manifest ],
- 'stderr' => 1);
+ 'stderr' => 1,
+ 'nolib' => 1 );
like($result, qr/is sorted properly/, 'MANIFEST sorted properly');
}