[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: dd: add 'skip_bytes' and 'count_bytes' operands
From: |
Pádraig Brady |
Subject: |
Re: dd: add 'skip_bytes' and 'count_bytes' operands |
Date: |
Mon, 13 Feb 2012 22:06:36 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:6.0) Gecko/20110816 Thunderbird/6.0 |
On 02/13/2012 06:41 PM, Jérémy Compostella wrote:
> Pádraig,
>
> I took a closer look to the last test case. I wrote it during the
> development phase. At this time, I forced the skip() function to failed
> in order to test the line 1896 algorithm.
>
> I just made some test and was unable to make the lseek() call failed on
> my system. So I guess we could remove this last test case. Except if
> someone have a good idea to easily make this call failed.
Ok I replaced that test with one checking the truncate functionality.
I've pushed the attached.
cheers,
Pádraig.
seek_bytes_adjustment.diff
Description: Text document
- Re: dd: add 'skip_bytes' and 'count_bytes' operands, (continued)
- Re: dd: add 'skip_bytes' and 'count_bytes' operands, Pádraig Brady, 2012/02/13
- Re: dd: add 'skip_bytes' and 'count_bytes' operands, Bernhard Voelker, 2012/02/13
- Re: dd: add 'skip_bytes' and 'count_bytes' operands, Pádraig Brady, 2012/02/13
- Re: dd: add 'skip_bytes' and 'count_bytes' operands, Bernhard Voelker, 2012/02/13
- Re: dd: add 'skip_bytes' and 'count_bytes' operands, Pádraig Brady, 2012/02/13
- Re: dd: add 'skip_bytes' and 'count_bytes' operands, Bernhard Voelker, 2012/02/13
- Re: dd: add 'skip_bytes' and 'count_bytes' operands, Pádraig Brady, 2012/02/13
- Re: dd: add 'skip_bytes' and 'count_bytes' operands, Bernhard Voelker, 2012/02/13
- Re: dd: add 'skip_bytes' and 'count_bytes' operands, Bernhard Voelker, 2012/02/13
- Re: dd: add 'skip_bytes' and 'count_bytes' operands, Jérémy Compostella, 2012/02/13
- Re: dd: add 'skip_bytes' and 'count_bytes' operands,
Pádraig Brady <=