bug-gzip
[Top][All Lists]
Advanced

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

Re: make check calls zgrep from zutils


From: Antonio Diaz Diaz
Subject: Re: make check calls zgrep from zutils
Date: Tue, 09 Apr 2013 17:38:12 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.7.11) Gecko/20050905

Hello Paul, thanks for the quick answer.

Paul Eggert wrote:
I can't reproduce either problem when building gzip 1.5
on Fedora 17 x86-64.  "less" isn't blocked, and the help-version
test works even if I prepend a bogus "zcmp" to my PATH.

I have tried on three very different machines (Slackware 13.37 x86-64, Slackware 12 x86-32, and a "linux from scratch" style x86-32). On all three of them "less" blocks. To exit "less" I have to type "q+ENTER". On the Slackware 12 it blocks even on an xterm ("Linux Console" from KDE).

About the "'make check' wrongly invokes programs from zutils installed in /usr/local/bin/" part, I have verified that:

1) with zutils installed in /usr/bin/ the test passes.

2) with a bogus zcmp alone in /usr/local/bin/ the test passes.

3) with zutils installed in /usr/local/bin/ the test fails.

The problem seems to be "make check" invoking /usr/local/bin/zdiff through gzip's zcmp and /usr/local/bin/zgrep through gzip's z[ef]grep.

I attach the full test-suite.log compressed for reference. Here are the (IMO) relevant parts:

# TOTAL: 12
# PASS:  11
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: help-version
[...]
+ echo '*** zegrep: bad exit status `0'\'' (expected 2),'
*** zegrep: bad exit status `0' (expected 2),
+ echo '  with --help or --version output redirected to /dev/full'
  with --help or --version output redirected to /dev/full
[...]
+ echo '*** zfgrep: bad exit status `0'\'' (expected 2),'
*** zfgrep: bad exit status `0' (expected 2),
+ echo '  with --help or --version output redirected to /dev/full'
  with --help or --version output redirected to /dev/full
[...]
zdiff: unrecognized option '--__cmp'
Try 'zdiff --help' for more information.
+ echo FAIL: zcmp
FAIL: zcmp


Best regards,
Antonio.

Attachment: test-suite.log.lz
Description: Binary data


reply via email to

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