GNU bug report logs - #8074
Fix sparse-pipe test on 2.6.26 kernel

Previous Next

Package: coreutils;

Reported by: "Gilles Espinasse" <g.esp <at> free.fr>

Date: Fri, 18 Feb 2011 08:57:01 UTC

Severity: normal

Done: Jim Meyering <jim <at> meyering.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: "Gilles Espinasse" <g.esp <at> free.fr>
To: Pádraig Brady <P <at> draigBrady.com>
Cc: Jim Meyering <jim <at> meyering.net>, 8074 <at> debbugs.gnu.org
Subject: bug#8074: Fix sparse-pipe test on 2.6.26 kernel
Date: Fri, 18 Feb 2011 13:40:49 +0100
[Message part 1 (text/plain, inline)]
----- Original Message ----- 
From: "Pádraig Brady" <P <at> draigBrady.com>
To: "Gilles Espinasse" <g.esp <at> free.fr>
Cc: "Jim Meyering" <jim <at> meyering.net>; <8074 <at> debbugs.gnu.org>
Sent: Friday, February 18, 2011 11:54 AM
Subject: bug#8074: Fix sparse-pipe test on 2.6.26 kernel


...
> >
> > If I add a dd if=/dev/null of=pipe conv=notrunc,fdatasync, test
reliabily
> > work too.
> > So I added that in attached patch.
>
> Good testing!
> Interesting to see that fdatasync flushes the pipe to disk.
> However it might be more portable/robust to use `wait`
> rather than that dd command?
>
> cheers,
> Pádraig.
>
wait work fine
Find v2 attached

Gilles
[v2-Fix-unreliable-sparse-to-pipe-test-on-cmp-on-debian-2.6.26.patch (application/octet-stream, attachment)]

This bug report was last modified 14 years and 153 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.