From 10ef74e1a2f8a6873f587ba01747661bd88e34cc Mon Sep 17 00:00:00 2001 From: Martijn Dekker Date: Mon, 22 Nov 2021 16:54:51 +0100 Subject: [PATCH] shtests: unignore SIGCONT For some reason, Void Linux (with musl libc) sets SIGCONT to ignored on the Linux console, causing the 'sleep -s' test in builtins.sh to fail spuriously as it relies on SIGCONT to work. src/cmd/ksh93/tests/shtests: - Reset SIGCONT using the unadvertised 'trap + SIGCONT' feature. Resolves: https://github.com/ksh93/ksh/issues/301 --- src/cmd/ksh93/tests/shtests | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmd/ksh93/tests/shtests b/src/cmd/ksh93/tests/shtests index 049131ac3..f4b0144f9 100755 --- a/src/cmd/ksh93/tests/shtests +++ b/src/cmd/ksh93/tests/shtests @@ -171,7 +171,7 @@ function valxml command set +o posix 2>/dev/null unset DISPLAY FIGNORE HISTFILE POSIXLY_CORRECT _AST_FEATURES export ENV=/./dev/null SHTESTS_COMMON=$PWD/_common -trap + PIPE # unadvertized -- set SIGPIPE to SIG_DFL # +trap + CONT PIPE # unadvertised -- set SIGCONT and SIGPIPE to SIG_DFL integer compile=-1 posix=-1 utf8=-1 integer debug=0 keep=0 locale=0 time=1