projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
another case of enabling binmode() where it should not be: if the
[p5sagit/p5-mst-13.2.git]
/
ext
/
Encode
/
t
/
Encode.t
diff --git
a/ext/Encode/t/Encode.t
b/ext/Encode/t/Encode.t
index
9c21578
..
fc71a91
100644
(file)
--- a/
ext/Encode/t/Encode.t
+++ b/
ext/Encode/t/Encode.t
@@
-1,6
+1,8
@@
BEGIN {
- chdir 't' if -d 't';
- unshift @INC, '../lib';
+ if ($ENV{'PERL_CORE'}){
+ chdir 't';
+ unshift @INC, '../lib';
+ }
require Config; import Config;
if ($Config{'extensions'} !~ /\bEncode\b/) {
print "1..0 # Skip: Encode was not built\n";