Hi Eric,

I don't really understand the nuances of this test enough to debug
any further.  It looks like the expectations are too tight by
requiring an error rather than a silent failure.  WDYT?

hpux% make check
...
Checking ./004.command_li
Checking ./005.command_li
@ ../doc/m4.texi:992: Origin of test
./005.command_li: stdout mismatch
*** m4-tmp.18651/m4-xout        Mon Mar 11 02:47:38 2013
--- m4-tmp.18651/m4-out Mon Mar 11 02:47:38 2013
***************
*** 1 ****
! 1
--- 1 ----
! 0
Checking ./006.command_li
...
Failed checks were:
  ./005.command_li:out
...
hpux% echo nothing | ./src/m4 >&-
hpux% echo $?
0
hpux% bash
bash-4.2$ echo nothing | ./src/m4 >&-
bash-4.2$ echo $?
0

Curiously, this test behaves as expected on HPUX-11.11 and 11.00.
Safe to ignore?  Can the test case be fixed?

Cheers,
-- 
Gary V. Vaughan (gary AT gnu DOT org)

Reply via email to