Voelker, Bernhard wrote:
> Bruno Haible wrote:
>
>> Hi Jim,
>>
>> > How about this?
>> >
>> > if (diff -u out out < /dev/null) > /dev/null 2>&1; then
>> >
>> > As usual, since your name is on it, I'll wait for an ACK
>> > before pushing it.
>>
>> Yes, that's just as good. Thanks!
>
> Do we
Bruno Haible wrote:
> Hi Jim,
>
> > How about this?
> >
> > if (diff -u out out < /dev/null) > /dev/null 2>&1; then
> >
> > As usual, since your name is on it, I'll wait for an ACK
> > before pushing it.
>
> Yes, that's just as good. Thanks!
Do we really need a subshell here?
This should
Hi Jim,
> How about this?
>
> if (diff -u out out < /dev/null) > /dev/null 2>&1; then
>
> As usual, since your name is on it, I'll wait for an ACK
> before pushing it.
Yes, that's just as good. Thanks!
Bruno
Bruno Haible wrote:
> Jim Meyering wrote:
...
> Thanks, this fixed the failures of this test on several platforms.
>
> But it introduced a minor problem: spurious output of the test.
>
> On AIX 6.1:
>
> ./test-init.sh[42]: There: not found.
> PASS: test-init.sh
>
> On Solaris 10/x86:
>
> ./test-in
Jim Meyering wrote:
> My test expected diff -u output.
> compare may generate diff -c output or even cmp output.
>
> This should fix it:
> +2012-01-05 Jim Meyering
> +
> + test-init.sh: avoid failure on HP-UX 11.00
> + * tests/test-init.sh: Skip "diff -u"-comparing step when compare
> +
Bruno Haible wrote:
>> http://meyering.net/cu/coreutils-8.14.116-1e18d.tar.xz
>
> On HP-UX 11.00 with vendor cc:
>
> All coreutils tests pass. But 2 gnulib tests fail:
>
>
> FAIL: test-posixtm
> ==
...
>
> FAIL: test-init.sh
> ==
...
> + compare_ exp out
> + diff -
On 01/04/12 15:11, Bruno Haible wrote:
> 190112132045.51 return value mismatch: got 0, expected 1
> skipping 190112132045.52: result is out of range of your time_t
That test assumes that signed integer overflow wraps around,
which isn't a safe assumption these days. I pushed this
to remove the as
> http://meyering.net/cu/coreutils-8.14.116-1e18d.tar.xz
On HP-UX 11.00 with vendor cc:
All coreutils tests pass. But 2 gnulib tests fail:
FAIL: test-posixtm
==
0101.00 return value mismatch: got 0, expected 1
12312359.59 return value mismatch: got 0, expected 1
0