bug-coreutils
[Top][All Lists]
Advanced

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

Re: new snapshot available: coreutils-7.5.65-61cc6


From: Pádraig Brady
Subject: Re: new snapshot available: coreutils-7.5.65-61cc6
Date: Mon, 7 Sep 2009 17:22:47 +0100
User-agent: Thunderbird 2.0.0.6 (X11/20071008)

Jim Meyering wrote:
> There have been disproportionately many bug fixes since coreutils-7.5.
> It's an interesting mix of fixes for recent regressions and for a few older 
> bugs.

                       Passed     Skipped     Failed
                  \---------------------------------
Fedora core 5 x86 |       346          42          0
Fedora 11 x86     |       341          47          0
Solaris 10 x86    |       325          61          2

Solaris 9 x86 build failed with:
"fstatat.c", line 39: undefined symbol: AT_SYMLINK_NOFOLLOW

Solaris 10 failures:
 tail-2/flush-initial (patch attached)
 ls/color-clear-to-eol (due to sed ignoring last line without \n)

cheers,
Pádraig.
>From 14427d9174b880d469d8c5083fba6d24429b2a2b Mon Sep 17 00:00:00 2001
From: =?utf-8?q?P=C3=A1draig=20Brady?= <address@hidden>
Date: Mon, 7 Sep 2009 17:03:08 +0100
Subject: [PATCH] tests: tail-2/flush-initial should not rely on stdbuf

* tests/tail-2/flush-initial: stdbuf is not built on all systems.
In addition it's redundant since stdout will already be buffered
since we're redirecting to file. So just call tail without using stdbuf.
---
 tests/tail-2/flush-initial |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/tests/tail-2/flush-initial b/tests/tail-2/flush-initial
index 515b29d..e0d79fe 100755
--- a/tests/tail-2/flush-initial
+++ b/tests/tail-2/flush-initial
@@ -25,7 +25,9 @@ fi
 
 fail=0
 echo line > in || fail=1
-stdbuf --output=1K tail -f in > out &
+# Output should be buffered since we're writing to file
+# so we're depending on the flush to write out
+tail -f in > out &
 tail_pid=$!
 
 # Wait for 1 second for the file to be flushed.
-- 
1.6.2.5


reply via email to

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