bug-gzip
[Top][All Lists]
Advanced

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

Re: gzip-1.3.10 test failures


From: Paul Eggert
Subject: Re: gzip-1.3.10 test failures
Date: Wed, 10 Jan 2007 22:03:30 -0800
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)

"Nelson H. F. Beebe" <address@hidden> writes:

> Yes, the Bourne shell on SGI IRIX 6 supports shell functions

OK, thanks, I looked into the matter further and installed this patch,
which should do the trick in the next gzip distribution.  I assume
that the command

  test "$(expr 3 + 4)" -eq 7

reliably fails for the shell in question.

2007-01-10  Paul Eggert  <address@hidden>

        * m4/shell.m4 (AC_PROG_SHELL): Test that $(...) works.
        Problem reported for SGI IRIX 6 by Nelson H. F. Beebe in
        <http://lists.gnu.org/archive/html/bug-gzip/2007-01/msg00007.html>.

--- m4/shell.m4 4 Nov 2001 01:18:43 -0000       1.4
+++ m4/shell.m4 11 Jan 2007 06:01:54 -0000      1.6
@@ -1,4 +1,4 @@
-#serial 4
+#serial 5
 
 # AC_PROG_SHELL
 # -------------
@@ -15,6 +15,8 @@ AC_DEFUN([AC_PROG_SHELL],
        >conftest.c || exit
        >|conftest.c || exit
        !>conftest.c || exit
+       # Test that $(...) works.
+       test "$(expr 3 + 4)" -eq 7 || exit
       '
       ac_cv_path_shell=no
 




reply via email to

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