summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorMatt Kraai <kraai@ftbfs.org>2007-11-28 07:52:36 -0800
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2007-11-29 09:48:33 +0000
commit185a8799cf53821042b26b9640dafc4ccbe89485 (patch)
tree59711e5e742198a2a3242a15a27339621ce6cb3d /t
parent2d51fa4dacb274a2a65ecfe4c7a2465ed828ee98 (diff)
downloadperl-185a8799cf53821042b26b9640dafc4ccbe89485.tar.gz
Skip failing getppid tests on QNX 6
Message-ID: <20071128235236.GB16327@ftbfs.org> p4raw-id: //depot/perl@32548
Diffstat (limited to 't')
-rw-r--r--t/op/getppid.t12
1 files changed, 10 insertions, 2 deletions
diff --git a/t/op/getppid.t b/t/op/getppid.t
index 70c5a32499..f4ebc7e187 100644
--- a/t/op/getppid.t
+++ b/t/op/getppid.t
@@ -40,7 +40,12 @@ sub fork_and_retrieve {
unless my ($first, $second) = /^(\d+),(\d+)\z/;
cmp_ok ($first, '>=', 1, "Parent of $which grandchild");
cmp_ok ($second, '>=', 1, "New parent of orphaned $which grandchild");
- isnt($first, $second, "Orphaned $which grandchild got a new parent");
+ SKIP: {
+ skip("Orphan processes are not reparented on QNX", 1)
+ if $^O eq 'nto';
+ isnt($first, $second,
+ "Orphaned $which grandchild got a new parent");
+ }
return $second;
}
else {
@@ -68,5 +73,8 @@ sub fork_and_retrieve {
my $first = fork_and_retrieve("first");
my $second = fork_and_retrieve("second");
-is ($first, $second, "Both orphaned grandchildren get the same new parent");
+SKIP: {
+ skip ("Orphan processes are not reparented on QNX", 1) if $^O eq 'nto';
+ is ($first, $second, "Both orphaned grandchildren get the same new parent");
+}
isnt ($first, $$, "And that new parent isn't this process");