From bf22cfbe85c1e18f9919b860c491811fbac86911 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 11 Jul 2021 13:42:16 -0700 Subject: [PATCH] test: disable use of ksh in a test that would otherwise hang * t/tests-environment-fd-redirect.sh: This test would hang when using ksh93 from Fedora 34 and CentOS 8. Comments demonstrate the issue reported as https://github.com/ksh93/ksh/issues/316 --- t/tests-environment-fd-redirect.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/t/tests-environment-fd-redirect.sh b/t/tests-environment-fd-redirect.sh index e7159c791..a39a984f1 100644 --- a/t/tests-environment-fd-redirect.sh +++ b/t/tests-environment-fd-redirect.sh @@ -70,6 +70,15 @@ case $SHELL in esac for sh in "$SHELL" "$bin_ksh"; do + + # The following hangs with Fedora 34's ksh-20120801-255: + # (seq --format=z%g= 121; echo "eval ': \`(set) 2>&1\`'")|env -i ksh + # yet terminates if it emits one fewer variable assignment. + # Using that ksh here would make this test hang: the above is + # derived from the configure script generated for this test. + # Reported as https://github.com/ksh93/ksh/issues/316 + case $sh in */ksh) skip_ "skipping $sh to avoid hang"; continue;; esac + test "$sh" = : && continue for pfx in AM_ ''; do unindent > Makefile.am <