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: > > hg...@xango2:/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