aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl/skip-test-due-to-busybox-ps.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2019-11-14 07:34:45 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2019-11-14 11:29:57 +0000
commit2aad23004be829b851b1367c3759fa71b5e522e7 (patch)
tree8e915befd7d3774440e94ed6c09acd87590fd608 /main/perl/skip-test-due-to-busybox-ps.patch
parente1d77f2907da0d15c9c68b59d1322aab39a2e75c (diff)
downloadaports-2aad23004be829b851b1367c3759fa71b5e522e7.tar.gz
aports-2aad23004be829b851b1367c3759fa71b5e522e7.tar.bz2
aports-2aad23004be829b851b1367c3759fa71b5e522e7.tar.xz
main/perl: fix procps circular dependency
drop tests that needs procps so we avoid circluar dependency
Diffstat (limited to 'main/perl/skip-test-due-to-busybox-ps.patch')
-rw-r--r--main/perl/skip-test-due-to-busybox-ps.patch22
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;