From fca6d9c12f5bf06469cf9f7db8c42f66ef792fd2 Mon Sep 17 00:00:00 2001
From: Iain Sandoe <iainsandoe@Apollo-3-VM-Lion-0-187.local>
Date: Sun, 26 Feb 2023 13:53:52 +0000
Subject: [PATCH] libphobos, testsuite: Disable forkgc2 on Darwin [PR103944]

It hangs the testsuite (requiring manual intervention to kill the
spawned processes) which breaks CI.  The reason for the hang id not
clear.  This skips the test for now (xfail does not work).

Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>

	PR d/103944

libphobos/ChangeLog:

	* testsuite/libphobos.gc/forkgc2.d: Skip for Darwin.
---
 libphobos/testsuite/libphobos.gc/forkgc2.d | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libphobos/testsuite/libphobos.gc/forkgc2.d b/libphobos/testsuite/libphobos.gc/forkgc2.d
index de7796ced72d..38d0d0c2f93e 100644
--- a/libphobos/testsuite/libphobos.gc/forkgc2.d
+++ b/libphobos/testsuite/libphobos.gc/forkgc2.d
@@ -1,3 +1,4 @@
+// { dg-skip-if "test hangs the testsuite PR103944" { *-*-darwin* } }
 import core.stdc.stdlib : exit;
 import core.sys.posix.sys.wait : waitpid;
 import core.sys.posix.unistd : fork;
-- 
GitLab