<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/tests, branch fiemap-copy</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=fiemap-copy</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=fiemap-copy'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2010-06-13T14:34:42Z</updated>
<entry>
<title>build: distribute new test script, filefrag-extent-compare</title>
<updated>2010-06-13T14:34:42Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2010-06-13T14:34:42Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=f25181d32c40f82ee26dea6de6b7f4b385352a14'/>
<id>urn:sha1:f25181d32c40f82ee26dea6de6b7f4b385352a14</id>
<content type='text'>
* tests/Makefile.am (EXTRA_DIST): Add filefrag-extent-compare.
</content>
</entry>
<entry>
<title>tests: accommodate varying filefrag -v "flags" output</title>
<updated>2010-06-11T12:34:17Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2010-06-11T12:34:03Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=484903dc41246cb3c774f178f695725561b105a0'/>
<id>urn:sha1:484903dc41246cb3c774f178f695725561b105a0</id>
<content type='text'>
* tests/cp/sparse-fiemap: Accommodate values other than "eof"
in the "flags" column of filefrag -v output
</content>
</entry>
<entry>
<title>tests: improve fiemap test to work with 4 FS types; fall back on ext4</title>
<updated>2010-06-11T12:10:57Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2010-05-30T19:20:30Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=e955826e4cd93ea0e997af4f3829fd8e794c6b1b'/>
<id>urn:sha1:e955826e4cd93ea0e997af4f3829fd8e794c6b1b</id>
<content type='text'>
* tests/cp/sparse-fiemap: Improve.
* tests/filefrag-extent-compare: New file.
</content>
</entry>
<entry>
<title>tests: test fiemap-enabled cp more thoroughly</title>
<updated>2010-06-11T12:10:57Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2010-05-22T08:21:46Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=912e7d26c6456b9ed04a10f902c5f506f1148705'/>
<id>urn:sha1:912e7d26c6456b9ed04a10f902c5f506f1148705</id>
<content type='text'>
* tests/cp/sparse-fiemap: More tests.
</content>
</entry>
<entry>
<title>tests: require root only if current partition is neither btrfs nor xfs</title>
<updated>2010-06-11T12:10:57Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2010-05-22T08:22:58Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=e62e22b798f3f8659a7f366f67eb739e8fdf78ec'/>
<id>urn:sha1:e62e22b798f3f8659a7f366f67eb739e8fdf78ec</id>
<content type='text'>
* tests/cp/sparse-fiemap: Don't require root access if current
partition is btrfs or xfs.
Use init.sh, not test-lib.sh.
</content>
</entry>
<entry>
<title>tests: exercise more of the new FIEMAP copying code</title>
<updated>2010-06-11T12:10:57Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2010-05-21T16:28:42Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=578db289bbaf7ebd4affe1af8fa9a6cf19d48981'/>
<id>urn:sha1:578db289bbaf7ebd4affe1af8fa9a6cf19d48981</id>
<content type='text'>
* tests/cp/sparse-fiemap: Ensure that a file with many extents (more
than fit in copy.c's internal 4KiB buffer) is copied properly.
</content>
</entry>
<entry>
<title>tests: sparse-fiemap: factor out some set-up</title>
<updated>2010-06-11T12:10:57Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2010-05-28T07:24:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=9cc9dbaf5bf576b076a4d0b5132bdcf205a792ea'/>
<id>urn:sha1:9cc9dbaf5bf576b076a4d0b5132bdcf205a792ea</id>
<content type='text'>
* tests/cp/sparse-fiemap: Cd into test directory sooner.
</content>
</entry>
<entry>
<title>tests: add a new test for FIEMAP-copy</title>
<updated>2010-06-11T12:10:57Z</updated>
<author>
<name>Jie Liu</name>
<email>jeff.liu@oracle.com</email>
</author>
<published>2010-05-13T14:17:53Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=e3dca50c2a407dd82be58d0b716c1e8873a64752'/>
<id>urn:sha1:e3dca50c2a407dd82be58d0b716c1e8873a64752</id>
<content type='text'>
* tests/cp/sparse-fiemap: Add a new test for FIEMAP-copy against a
loopbacked ext4 partition.
* tests/Makefile.am (sparse-fiemap): Reference the new test.
</content>
</entry>
<entry>
<title>tests: remove unnecessary single quotes in perl hash use: -&gt;{'SYM'}</title>
<updated>2010-05-31T08:59:11Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2010-05-15T15:58:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=f385d97a4144a30e23bc35ce8ec33c26b6cd84e9'/>
<id>urn:sha1:f385d97a4144a30e23bc35ce8ec33c26b6cd84e9</id>
<content type='text'>
Run this command:
  git grep -l "limits-&gt;{'" \
    | xargs perl -pi -e "s/limits-&gt;{'(.*?)'}/limits-&gt;{\$1}/g"
* cfg.mk (sc_prohibit_perl_hash_quotes): New rule to match.
* tests/misc/join: Remove quotes.
* tests/misc/sort: Likewise.
* tests/misc/sort-merge: Likewise.
* tests/misc/test: Likewise.
* tests/misc/unexpand: Likewise.
* tests/misc/uniq: Likewise.
</content>
</entry>
<entry>
<title>truncate: improve handling of non regular files</title>
<updated>2010-05-29T09:45:13Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2010-05-28T18:25:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=200501052edde61747a16cd0af60fa925ef87bfb'/>
<id>urn:sha1:200501052edde61747a16cd0af60fa925ef87bfb</id>
<content type='text'>
Previously we copied `dd` and suppressed error messages
when truncating neither regular files or shared mem objects.
This was valid for `dd`, as truncation is ancillary to copying
it may also do, but for `truncate` we should display all errors.
Also we used the st_size from non regular files which is undefined,
so we display an error when the user tries this.

* src/truncate (do_truncate):  Error when referencing the size
of non regular files or non shared memory objects.  Display all
errors returned by ftruncate().
(main): Error when referencing the size of non regular files or
non shared memory objects.  Don't suppress error messages for
any file types that can't be opened for writing.
* tests/misc/truncate-dir-fail: Check that referencing the
size of a directory is not supported.
* tests/misc/truncate-fifo: Ensure the test doesn't hang
by using the `timeout` command.  Don't test the return from
running ftruncate on the fifo as it's system dependent as
to whether this fails or not.
NEWS: Mention the change in behavior.
Reported by Jim Meyering.
</content>
</entry>
</feed>
