summaryrefslogtreecommitdiff
path: root/ext/B/t
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2003-08-05 05:29:11 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2003-08-05 05:29:11 +0000
commita243a48e99fa6345b1c8b09f3d98952fb43ec4a5 (patch)
treee7ece87cbebb5bef16f76b15daa36477cb03553b /ext/B/t
parent515b806de394ead7a7a28803ed69d57152f7fe86 (diff)
downloadperl-a243a48e99fa6345b1c8b09f3d98952fb43ec4a5.tar.gz
Bytecode patching from Enache.
p4raw-id: //depot/perl@20485
Diffstat (limited to 'ext/B/t')
-rw-r--r--ext/B/t/bytecode.t9
1 files changed, 5 insertions, 4 deletions
diff --git a/ext/B/t/bytecode.t b/ext/B/t/bytecode.t
index 47bae92dc7..e8f7d6bc9b 100644
--- a/ext/B/t/bytecode.t
+++ b/ext/B/t/bytecode.t
@@ -7,6 +7,11 @@ BEGIN {
}
chdir 't' if -d 't';
@INC = qw(../lib);
+ use Config;
+ if ($Config{ccflags} =~ /-DPERL_COPY_ON_WRITE/) {
+ print "1..0 # skip - no COW for now\n";
+ exit 0;
+ }
require './test.pl'; # for run_perl()
}
use strict;
@@ -104,10 +109,6 @@ my $i = 1;
my $foo = sub {$i = shift if @_};
&$foo(3);
############################################################
-$_="\xff\xff"; use utf8; utf8::encode $_; print $_
->>>>
-\xc3\xbf\xc3\xbf
-############################################################
$x="Cannot use"; print index $x, "Can"
>>>>
0