X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fjaph%2Fabigail.t;h=609294bac8916c4f5d41fd9033e874da50478e8f;hb=dc459aad73ffc3aaf43c03d9908415c433fd93ba;hp=239107364543d02cba00ca715a33676da1fb31c0;hpb=21f5a6076e634a7ee61d6f5aa4e44bf6708db9fb;p=p5sagit%2Fp5-mst-13.2.git diff --git a/t/japh/abigail.t b/t/japh/abigail.t index 2391073..609294b 100644 --- a/t/japh/abigail.t +++ b/t/japh/abigail.t @@ -34,6 +34,8 @@ BEGIN { undef &skip; } +skip_all "Unhappy on MacOS" if $^O eq 'MacOS'; + # # ./test.pl does real evilness by jumping to a label. # This function copies the skip from ./test, omitting the goto. @@ -140,7 +142,7 @@ plan tests => 130; { my $datafile = "datatmp000"; 1 while -f ++ $datafile; - END {unlink_all $datafile} + END {unlink_all $datafile if $datafile} open MY_DATA, "> $datafile" or die "Failed to open $datafile: $!"; print MY_DATA << " --"; @@ -220,7 +222,7 @@ plan tests => 130; { my $progfile = "progtmp000"; 1 while -f ++ $progfile; - END {unlink_all $progfile} + END {unlink_all $progfile if $progfile} my @programs = (<< ' --', << ' --'); #!./perl