bug-coreutils
[Top][All Lists]
Advanced

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

Re: no feedback on snapshot? coreutils-7.5 coming soon


From: Jim Meyering
Subject: Re: no feedback on snapshot? coreutils-7.5 coming soon
Date: Sun, 16 Aug 2009 13:11:34 +0200

C de-Avillez wrote:
> On Wed, 2009-08-12 at 23:06 +0200, Jim Meyering wrote:
>> C de-Avillez wrote:
>> > Yet another one, on check-root. I am starting to wonder if this may be a
>> > problem with my setup, since nobody has reported errors on tail.
>> >
>> > FAIL: tail-2/append-only (exit: 1)
>> > ==================================
>>
>> Thanks for the reports.
>> How did you run those tests?
>> When I do it like this (per README), they all pass.
>>
>>   sudo env PATH="$PATH" NON_ROOT_USERNAME=$USER make -k check-root
>
> Yes, I did run them this way. I have just re-run them under git master
> (so that I would have the current status, without Pádraig's fixes).
>
> It failed the same. The following is the command line I used:
>
> address@hidden:/usr/src/buildd/coreutils $ sudo env PATH="$PATH"
> NON_ROOT_USERNAME=$USER make  check-root
>
> And here's the log:
>
> FAIL: tail-2/append-only (exit: 1)
> ==================================
...
> + chattr +a f
> + echo x
> + test 1 = 0
> + fail=0
> + sleep 1
> + pid=29813
> + tail --pid=29813 -f f
> + fail=1

What type of file system is that? (i.e., run this: df -hT .)

Please try again, but without redirecting output to /dev/null:

    sleep 1 &
    pid=$!
    tail --pid=$pid -f f || fail=1

i.e., apply this patch:

diff --git a/tests/tail-2/append-only b/tests/tail-2/append-only
index 0395271..0b4a959 100755
--- a/tests/tail-2/append-only
+++ b/tests/tail-2/append-only
@@ -39,7 +39,7 @@ fail=0

 sleep 1 &
 pid=$!
-tail --pid=$pid -f f > /dev/null 2>&1 || fail=1
+tail --pid=$pid -f f || fail=1
 chattr -a f 2>/dev/null

 Exit $fail




reply via email to

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