my $skip_mode_checks =
$^O eq 'cygwin' && $ENV{CYGWIN} !~ /ntsec/;
-plan tests => 49;
+plan tests => 51;
if (($^O eq 'MSWin32') || ($^O eq 'NetWare')) {
}
elsif ($^O eq 'VMS') {
`if f\$search("[.tmp]*.*") .nes. "" then delete/nolog/noconfirm [.tmp]*.*.*`;
+ `if f\$search("tmp.dir") .nes. "" then set file/prot=o:rwed tmp.dir;`;
`if f\$search("tmp.dir") .nes. "" then delete/nolog/noconfirm tmp.dir;`;
`create/directory [.tmp]`;
}
ok(-d 'tmp1', "rename on directories working");
+{
+ # Change 26011: Re: A surprising segfault
+ # to make sure only that these obfuscated sentences will not crash.
+
+ map chmod(+()), ('')x68;
+ ok(1, "extend sp in pp_chmod");
+
+ map chown(+()), ('')x68;
+ ok(1, "extend sp in pp_chown");
+}
+
# need to remove 'tmp' if rename() in test 28 failed!
END { rmdir 'tmp1'; rmdir 'tmp'; 1 while unlink "Iofs.tmp"; }