----- Original Message ----- From: "Pádraig Brady" To: "Gilles Espinasse" Cc: "Jim Meyering" ; <8074@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