<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/tests/dd/sparse, branch v8.18</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=v8.18</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=v8.18'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2012-03-23T11:47:52Z</updated>
<entry>
<title>tests: skip part of dd/sparse on some file systems</title>
<updated>2012-03-23T11:47:52Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2012-03-23T09:53:56Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=4b101ccd176eb3951bfbab717a0a3b5e2c4d19ef'/>
<id>urn:sha1:4b101ccd176eb3951bfbab717a0a3b5e2c4d19ef</id>
<content type='text'>
* tests/dd/sparse: The last two parts of this test would fail due to
the underlying file system at least on Solaris 10 with NFS.  That file
system would report that a 3MiB file was occupying &lt;= 1KiB of space
for nearly 50 seconds after creation.
Improved-by: Bernhard Voelker
</content>
</entry>
<entry>
<title>tests: avoid spurious dd/sparse failure</title>
<updated>2012-03-20T10:30:39Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2012-03-17T16:04:21Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=d42f3a4d41034d099bf29ade22221b401528c060'/>
<id>urn:sha1:d42f3a4d41034d099bf29ade22221b401528c060</id>
<content type='text'>
* tests/dd/sparse: Allow for greater variation in sparse-block counts.
Reported by Nelson H. F. Beebe and Bruno Haible.
</content>
</entry>
<entry>
<title>tests: work around a block alignment issue in dd/sparse</title>
<updated>2012-03-02T10:57:56Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2012-03-02T10:53:48Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=8195165839877eece7984dd08613323e96424cea'/>
<id>urn:sha1:8195165839877eece7984dd08613323e96424cea</id>
<content type='text'>
Prompted by the continuous integration build failure at:
http://hydra.nixos.org/build/2188210 (which uses XFS).

* tests/dd/sparse (alloc_equal): Add a block allocation
comparison function that accounts for variations due
to alignment.
</content>
</entry>
<entry>
<title>dd: add support for the conv=sparse option</title>
<updated>2012-02-29T00:17:56Z</updated>
<author>
<name>Roman Rybalko</name>
<email>devel@romanr.info</email>
</author>
<published>2012-02-27T13:53:07Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=4e776faa8482ae630d2ea9bc767298e664f07ba9'/>
<id>urn:sha1:4e776faa8482ae630d2ea9bc767298e664f07ba9</id>
<content type='text'>
Notes:
  Small seeks are not coalesced to larger ones,
  like is done in cache_round() for example.

  conv= is used rather then oflag= for FreeBSD compatibility.

* src/dd.c (final_op_was_seek): A new global boolean to flag
whether the final "write" was converted to a seek.
(usage): Describe the new conf=sparse option.
(iwrite): Convert a write of a NUL block to a seek if requested.
(do_copy): Initialize the output buffer to have a sentinel,
to allow for efficient testing for NUL output blocks.
If the last block in the file was converted to a seek,
then convert back to a write so the size is updated.
* NEWS: Mention the new feature.
* tests/dd/sparse: A new test for the feature.
* tests/Makefile.am: Reference the new test.
</content>
</entry>
</feed>
