summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJim Meyering <meyering@fb.com>2021-07-11 13:42:16 -0700
committerJim Meyering <meyering@fb.com>2021-07-11 19:13:42 -0700
commitbf22cfbe85c1e18f9919b860c491811fbac86911 (patch)
tree549e4a16d0fbeea87b53def8778969671f43ee17 /t
parent40b000c91e74030f7fc28ce45ccc22fd4dca9ec5 (diff)
downloadautomake-bf22cfbe85c1e18f9919b860c491811fbac86911.tar.gz
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
Diffstat (limited to 't')
-rw-r--r--t/tests-environment-fd-redirect.sh9
1 files changed, 9 insertions, 0 deletions
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 <<END