diff --git a/t/op/magic.t b/t/op/magic.t index 27c1d43..91882f4 100644 --- a/t/op/magic.t +++ b/t/op/magic.t @@ -408,7 +408,7 @@ EOP # argv[0] assignment and by calling prctl() { SKIP: { - skip "We don't have prctl() here, or we're on Android", 2 unless $Config{d_prctl_set_name} && $^O ne 'android'; + skip "Skip test to avoid external ps(1) dependency", 2; # We don't really need these tests. prctl() is tested in the # Kernel, but test it anyway for our sanity. If something doesn't @@ -807,7 +807,7 @@ SKIP: { my $me = (split /\0/, $line)[0]; is $me, $0, 'altering $0 is effective (testing with /proc/)'; close CMDLINE; - skip("\$0 check with 'ps' only on Linux (but not Android) and FreeBSD", 1) if $^O eq 'android'; + skip("\$0 check with 'ps' only on Linux (but not Android) and FreeBSD", 1); # if $^O eq 'android'; # perlbug #22811 my $mydollarzero = sub { my($arg) = shift;