automake-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[automake-commit] branch master updated: test: don't hang waiting for So


From: Karl Berry
Subject: [automake-commit] branch master updated: test: don't hang waiting for Solaris lex/yacc to read from stdin.
Date: Sun, 31 Dec 2023 18:27:24 -0500

This is an automated email from the git hooks/post-receive script.

karl 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=87119fa3e7ac1ba4e1b41716380dfc5bde62cb8c

The following commit(s) were added to refs/heads/master by this push:
     new 87119fa3e test: don't hang waiting for Solaris lex/yacc to read from 
stdin.
87119fa3e is described below

commit 87119fa3e7ac1ba4e1b41716380dfc5bde62cb8c
Author: Bruno Haible <bruno@clisp.org>
AuthorDate: Sun Dec 31 15:27:15 2023 -0800

    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.
---
 t/get-sysconf.sh | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

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 </dev/null || :
+$LEX --help </dev/null || :
+$YACC --version </dev/null || :
+$YACC --help </dev/null || :
 
 cat "$am_top_builddir/config.log" || st=1
 cat "$am_top_builddir/bin/aclocal-$APIVERSION" || st=1



reply via email to

[Prev in Thread] Current Thread [Next in Thread]