bug-m4
[Top][All Lists]
Advanced

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

Re: GNU M4 1.4.3 exit status


From: John Gatewood Ham
Subject: Re: GNU M4 1.4.3 exit status
Date: Tue, 11 Oct 2005 16:54:28 +0700 (ICT)

Hello,

    Attached is a patch with the additional changes.  It
can be applied like this:

tar xvfj m4-1.4.3.tar.bz2
cd m4-1.4.3
patch -p1 < /path/to/m4-1.4.3.patch
chmod 0755 checks/invocation_tests

Make check output will have 4 new lines at the end:

running invocation test 1: OK
running invocation test 2: OK
running invocation test 3: OK
All 3 checks successful

With the existing m4-1.4.3 without the m4.c changes you get:

running invocation test 1: FAIL
running invocation test 2: OK
running invocation test 3: OK
1 of 3 checks failed.  Failed checks were:
1: Ensure m4 exits with non-zero exit code when fed a non-existent file as 
input.

The info file has EXIT_STATUS documentation (use concept index, or
under preliminaries menu immediately after 'Invoking m4') and
the bug reporting address is updated (and bug is now in the concept index).

Are these changes adequate, or do you need more?

Thank you,

JGH

On Mon, 10 Oct 2005, Paul Eggert wrote:

John Gatewood Ham <address@hidden> writes:

     Attached is the patch you requested.  'make check' still works.
Do you want me to add a test for this new behavior?  Do you want
the info file to contain information about EXIT STATUS like the
man page does?  I can add that if you wish.

Definitely the latter.  The .texi file is the primary source of documenation.
Also, 'make check' should test for it, yes.

Attachment: m4-1.4.3.patch
Description: Text document


reply via email to

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