[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[automake-commit] 01/02: test: disable use of ksh in a test that would o
From: |
Jim Meyering |
Subject: |
[automake-commit] 01/02: test: disable use of ksh in a test that would otherwise hang |
Date: |
Sun, 11 Jul 2021 22:14:10 -0400 |
meyering pushed a commit to branch master
in repository automake.
View the commit online:
https://git.savannah.gnu.org/gitweb/?p=automake.git;a=commitdiff;h=bf22cfbe85c1e18f9919b860c491811fbac86911
commit bf22cfbe85c1e18f9919b860c491811fbac86911
Author: Jim Meyering <meyering@fb.com>
AuthorDate: Sun Jul 11 13:42:16 2021 -0700
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 e7159c7..a39a984 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