From: Bruno Haible Date: Sun, 31 Dec 2023 23:27:15 +0000 (-0800) Subject: test: don't hang waiting for Solaris lex/yacc to read from stdin. X-Git-Tag: v1.16.90~33 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=87119fa3e7ac1ba4e1b41716380dfc5bde62cb8c;p=thirdparty%2Fautomake.git test: don't hang waiting for Solaris lex/yacc to read from stdin. From https://bugs.gnu.org/68165. * t/get-sysconf.sh: Don't let $LEX or $YACC read from stdin when trying --version and --help. Only lex --version hangs, but may as well avoid it in general. --- diff --git a/t/get-sysconf.sh b/t/get-sysconf.sh index f448e8585..0f50f7b9a 100644 --- a/t/get-sysconf.sh +++ b/t/get-sysconf.sh @@ -56,10 +56,10 @@ libtoolize --help || : # It's OK if the selected Lex and Yacc programs don't know how to print # the version number or the help screen; those are usually available only # for Flex and Bison. -$LEX --version || : -$LEX --help || : -$YACC --version || : -$YACC --help || : +$LEX --version