# Tests that all ops can be trapped by a Safe compartment
BEGIN {
- if ($ENV{PERL_CORE}) {
- chdir 't' if -d 't';
- @INC = '../lib';
- }
- else {
+ unless ($ENV{PERL_CORE}) {
# this won't work outside of the core, so exit
print "1..0 # skipped: PERL_CORE unset\n"; exit 0;
}
$code{$1} = $2;
}
-open my $fh, '<', '../opcode.pl' or die "Can't open opcode.pl: $!";
+open my $fh, '<', '../../opcode.pl' or die "Can't open opcode.pl: $!";
while (<$fh>) {
last if /^__END__/;
}
'../ext/IO-Compress' => 1,
'../ext/IPC-SysV' => 1,
'../ext/MIME-Base64' => 1,
- '../ext/Safe' => 'fixme',
'../ext/Time-HiRes' => 1,
'../ext/Unicode-Normalize' => 1,
);