<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/tests, 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-08-08T16:46:58Z</updated>
<entry>
<title>tests: fix validation of local file systems</title>
<updated>2012-08-08T16:46:58Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2012-08-08T15:38:38Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=433de5ebbddce4c2179fa37296ca9b39400f99ed'/>
<id>urn:sha1:433de5ebbddce4c2179fa37296ca9b39400f99ed</id>
<content type='text'>
* tests/init.cfg (require_mount_list_): A new function
to ensure we can read the list of file systems.
(require_local_dir_): Call the above function, as otherwise
the check is invalid.
* tests/df/total-unprocessed: Ensure df can read the
list of mounted file systems so that --local can be honored.
</content>
</entry>
<entry>
<title>tests: printf-surprise: avoid unwarranted failure on FreeBSD 9.0</title>
<updated>2012-08-06T14:02:28Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2012-08-05T14:10:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=47583adceda8c9ad5f52805b7af3683179e0b4a6'/>
<id>urn:sha1:47583adceda8c9ad5f52805b7af3683179e0b4a6</id>
<content type='text'>
* tests/misc/printf-surprise: A VM size of 10,000KiB was too
little in which to run "env printf ..." on FreeBSD 9.0-p3.
Increase it to 15,000.
</content>
</entry>
<entry>
<title>df: fix exit code and error messages with --total</title>
<updated>2012-08-04T16:30:07Z</updated>
<author>
<name>Bernhard Voelker</name>
<email>mail@bernhard-voelker.de</email>
</author>
<published>2012-08-03T23:09:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=3b8139e85f3a96dfefaba94d0764135376135ae8'/>
<id>urn:sha1:3b8139e85f3a96dfefaba94d0764135376135ae8</id>
<content type='text'>
When the combination of the file system options with given files or
devices does not lead to output, "df --total" would exit successfully
although it should not.

Examples:
  $ df --total --type=xfs /          # when / is not an XFS file system
  $ df --total --local -t nfs  DIR   # nfs is remote per se ...
  $ df --total -t qwerty /dev/sdb5   # typo in file system type

Furthermore, "df --total" would not print the error message "no file
systems processed" when the file argument does not exist or is otherwise
not accessible.

Example:
  $ df --total __not_exist__

These 2 bugs are present since --total was added by commit
v6.12-166-gea2887b.

* src/df.c (get_dev): Do not set file_systems_processed to true when
force_fsu is true, i.e. when the row for the "total" line is processed.
(main): Don't print totals unless we've processed a file system.
Also only print the "no FS processed" message if there was no
preceding diagnostic.
* tests/df/total-unprocessed: Add a new test.
* tests/Makefile.am: Reference the new test.
* NEWS: Mention the fix.

Improved-by: Jim Meyering
</content>
</entry>
<entry>
<title>tests: avoid FP ulimit failure with valgrind-wrapped tools</title>
<updated>2012-08-04T10:03:06Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2012-08-02T17:12:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=4bee223d96fe34fd5290575ddb6eba7c9c7d7418'/>
<id>urn:sha1:4bee223d96fe34fd5290575ddb6eba7c9c7d7418</id>
<content type='text'>
* tests/init.cfg (require_ulimit_): Raise VM limit from 10MiB to
20MiB, to accommodate overhead of a valgrind-wrapped date program.
Also declare this function's local variables "local".
</content>
</entry>
<entry>
<title>tests: add a test for a previously fixed output format bug in join</title>
<updated>2012-07-23T08:54:18Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2012-07-23T08:29:57Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=d75e93cb76c504e766e317ea0891285e4510ae67'/>
<id>urn:sha1:d75e93cb76c504e766e317ea0891285e4510ae67</id>
<content type='text'>
Add a test and NEWS entry for a bug inadvertently fixed in
a refactoring in commit v8.9-32-gd4db0cb

* tests/misc/join (v2-format): Add a new test.
* THANKS.in: Add the reporter.
* NEWS: Mention the old bug.
* cfg.mk (old_NEWS_hash): Update.

Reported-by: Jean-Pierre Tosoni
</content>
</entry>
<entry>
<title>tests: fiemap-perf: avoid a false failure on ext2</title>
<updated>2012-07-18T16:22:27Z</updated>
<author>
<name>Andrew D Warshall</name>
<email>warshall@99main.com</email>
</author>
<published>2012-07-18T12:53:53Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=4fcef6991da9b7a5225a386abb0ca5f26939c756'/>
<id>urn:sha1:4fcef6991da9b7a5225a386abb0ca5f26939c756</id>
<content type='text'>
* tests/cp/fiemap-perf: Skip the test on ext2 file systems,
as we do for ext3.  Also skip the test if we can't create
a 1TiB file, which might not be supported on certain file systems.

Signed-off-by: Pádraig Brady &lt;P@draigBrady.com&gt;
</content>
</entry>
<entry>
<title>maint: move two df tests from tests/misc to tests/df</title>
<updated>2012-07-16T01:51:41Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2012-07-16T01:51:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=2f90a1b19161d4924c251dce9cf5ff8a6d4c1d13'/>
<id>urn:sha1:2f90a1b19161d4924c251dce9cf5ff8a6d4c1d13</id>
<content type='text'>
* test/Makefile.am: Reference the moved tests.
</content>
</entry>
<entry>
<title>df: don't output control characters in a mount point name</title>
<updated>2012-07-16T01:48:31Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2012-07-13T01:27:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=3ed70fd559c3fbed8383b50373e6d23d1857dc52'/>
<id>urn:sha1:3ed70fd559c3fbed8383b50373e6d23d1857dc52</id>
<content type='text'>
It's awkward to read and problematic for scripts when
control characters like '\n' are output.

Note other fields are already handled with mbsalign,
which converts non printable chars to the replacement char.
A caveat to note with that, is the replacement char takes
a place in the field and so possibly truncates the field
if it was the widest field in the records.

Note a more general replacement function, that
handles all printable, or non white space characters,
would require more sophisticated support for various
encodings, and the complexity vs benefit was not
deemed beneficial enough at present.
Perhaps in future a more general replacement function
could be shared between the various utilities.

Note &lt;space&gt; is unaffected in any field,
which could impact scripts processing the output.
However any of the number fields at least could have
spaces considering `LANG=fr_FR df -B\'1`, so it's
probably best to leave spaces, which also allows
scripts to handle mount points with spaces without change.

* src/df.c (hide_problematic_chars): Replace control chars with '?'.
* tests/df/problematic-chars: Add a new root only test.
* tests/Makefile.am: Reference the new test.
* NEWS: Mention the fix.
</content>
</entry>
<entry>
<title>tests: sort-merge-fdlimit: reduce the limit by one</title>
<updated>2012-07-06T09:41:50Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2012-07-04T10:02:20Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=d569dbe5871d69063bdd05a42d5b3b7bfc233cfd'/>
<id>urn:sha1:d569dbe5871d69063bdd05a42d5b3b7bfc233cfd</id>
<content type='text'>
* tests/misc/sort-merge-fdlimit: As a consequence of commit
v8.17-34-g59daf05, we can reduce the descriptor limit by one.
</content>
</entry>
<entry>
<title>date: fails to diagnose invalid input</title>
<updated>2012-07-04T11:32:24Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2012-07-04T11:01:56Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=cc322ddd16607c0c8e978e5003008344e2710ec9'/>
<id>urn:sha1:cc322ddd16607c0c8e978e5003008344e2710ec9</id>
<content type='text'>
date -d "$(printf '\xb0')" would print 00:00:00 with today's date
rather than diagnosing the invalid input.  Now it reports this:
date: invalid date '\260'
* gnulib: Update submodule to latest for fixed parse-datetime.y.
* tests/misc/date [invalid-high-bit-set]: New test.
* NEWS (Bug fixes): Mention it.
* bootstrap, tests/init.sh: Also update to latest.
Reported by Peter Evans in http://bugs.gnu.org/11843
</content>
</entry>
</feed>
