diff options
Diffstat (limited to 'main/perl/skip-test-due-to-busybox-ps.patch')
-rw-r--r-- | main/perl/skip-test-due-to-busybox-ps.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/main/perl/skip-test-due-to-busybox-ps.patch b/main/perl/skip-test-due-to-busybox-ps.patch new file mode 100644 index 0000000000..88a19b7139 --- /dev/null +++ b/main/perl/skip-test-due-to-busybox-ps.patch @@ -0,0 +1,22 @@ +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; |