[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[shepherd] 03/04: tests: Skip when dealing with Guile sigaction + fork b
From: |
Ludovic Courtès |
Subject: |
[shepherd] 03/04: tests: Skip when dealing with Guile sigaction + fork bug. |
Date: |
Fri, 29 Dec 2023 18:30:25 -0500 (EST) |
civodul pushed a commit to branch main
in repository shepherd.
commit 7bfb3d09a1bf822ed43cb3bf8deb0538f1e7db68
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Sat Dec 30 00:20:31 2023 +0100
tests: Skip when dealing with Guile sigaction + fork bug.
* tests/daemonize.sh: Skip when dealing with broken Guile signal
handling.
---
tests/daemonize.sh | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/tests/daemonize.sh b/tests/daemonize.sh
index b6bd640..cc033fa 100644
--- a/tests/daemonize.sh
+++ b/tests/daemonize.sh
@@ -19,6 +19,17 @@
shepherd --version
herd --version
+case "$(guile -c '(display
(version))'):${SHEPHERD_DISABLE_SIGNALFD:-0}:$(uname)" in
+ *:0:Linux)
+ # Assuming 'signalfd' support: all is good.
+ ;;
+ 3.0.[0-9]:*)
+ echo "This test is known to fail with Guile <= 3.0.9 \
+and without 'signalfd' support." >&2
+ echo "See <https://issues.guix.gnu.org/68087>." >&2
+ exit 77;;
+esac
+
socket="t-socket-$$"
conf="t-conf-$$"
log="t-log-$$"