----- Original Message ----- From: "Pádraig Brady" <[email protected]> To: "Gilles Espinasse" <[email protected]> Cc: "Jim Meyering" <[email protected]>; <[email protected]> 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
Description: Binary data
