Re: [Toybox] dd tests for transaction size?

2017-07-09 Thread Rob Landley
On 07/09/2017 02:41 AM, Rob Landley wrote: > does anybody have a decent strategy for testing the ibs > and obs options? Has anybody actually used the conv=sync option in the past 20 years? It doesn't do what you think (that's conv=fsync), instead it pads short reads with zeroes so the input block

Re: [Toybox] dd tests for transaction size?

2017-07-09 Thread enh
On Sun, Jul 9, 2017 at 4:23 PM, Rob Landley wrote: > > On 07/09/2017 05:18 PM, enh wrote: >> > On 07/09/2017 02:41 AM, Rob Landley wrote: >> > > does anybody have a decent strategy for testing the ibs >> > > and obs options? >> > >> > Has anybody actually used

[Toybox] dd tests for transaction size?

2017-07-09 Thread Rob Landley
This time around I'm cleaning up dd in small chunks, dealing with the code that's there before reading the spec and trying to do it a proper version. (That way at least I'm not likely to abandon a large half-done rewrite for a _fourth_ time.) Each time I make sure it passes "make test_dd" before