<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/tests/df, branch next</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=next</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=next'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2009-09-03T17:52:47Z</updated>
<entry>
<title>df: don't fail due to an unreadable argument</title>
<updated>2009-09-03T17:52:47Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2009-09-03T17:36:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=e0e8429c2433bd9820f42250236badc585bd9dd7'/>
<id>urn:sha1:e0e8429c2433bd9820f42250236badc585bd9dd7</id>
<content type='text'>
* src/df.c (main): If open or fstat fails when we're trying to ensure
that all arg-partitions are automounted, fall back on using stat.
Inspired by the report and patch from Olivier Fourdan in
http://bugzilla.redhat.com/520630.
* NEWS (Bug fixes): Mention it.
* tests/df/unreadable: New test for the above.
* tests/Makefile.am (TESTS): Add df/unreadable.
The bug was introduced in coreutils-7.3 via commit dbd17157,
2009-04-28, "df: use open(2), not stat, to trigger automounting".
</content>
</entry>
<entry>
<title>global: convert indentation-TABs to spaces</title>
<updated>2009-08-25T07:21:00Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2009-08-22T16:56:06Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=5e778f7c8d1ecf3d8f11385db013af2ba026e2a5'/>
<id>urn:sha1:5e778f7c8d1ecf3d8f11385db013af2ba026e2a5</id>
<content type='text'>
Transformed via this shell code:
t=$'\t'
git ls-files \
  | grep -vE '(^|/)((GNU)?[Mm]akefile|ChangeLog)|\.(am|mk)$' \
  | grep -vE 'tests/pr/|help2man' \
  | xargs grep -lE "^ *$t" \
  | xargs perl -MText::Tabs -ni -le \
    '$m=/^( *\t[ \t]*)(.*)/; print $m ? expand($1) . $2 : $_'
</content>
</entry>
<entry>
<title>tests: df/total-verify: avoid test failure with older Perl</title>
<updated>2009-03-19T17:49:57Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2009-03-19T17:48:46Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=25507a54f7f1d8f6cd28802a413e23a0e91dbe67'/>
<id>urn:sha1:25507a54f7f1d8f6cd28802a413e23a0e91dbe67</id>
<content type='text'>
* tests/df/total-verify: Don't use perl's -f option.
Reported by Matthew Woehlke.
</content>
</entry>
<entry>
<title>tests: df: skip total-verify if df fails</title>
<updated>2008-11-30T18:15:51Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2008-11-29T10:22:00Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=90f74735aa2f4753a3ae9cea848ef98daa31b7a6'/>
<id>urn:sha1:90f74735aa2f4753a3ae9cea848ef98daa31b7a6</id>
<content type='text'>
* tests/df/total-verify: Skip the test if df fails.
</content>
</entry>
<entry>
<title>tests: remove df/total</title>
<updated>2008-11-12T12:29:38Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2008-11-12T12:29:38Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=17409787bb7bfbda1a939643e9de112092c81264'/>
<id>urn:sha1:17409787bb7bfbda1a939643e9de112092c81264</id>
<content type='text'>
* tests/df/total: Remove file.
* tests/Makefile.am (TESTS): Remove df/total.
It is subsumed by df/total-verify.
</content>
</entry>
<entry>
<title>* tests/df/total-verify [VERBOSE]: Run df --version, not ls --version.</title>
<updated>2008-11-12T12:27:23Z</updated>
<author>
<name>Ondřej Vašík</name>
<email>ovasik@redhat.com</email>
</author>
<published>2008-11-12T12:27:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=ac819e1044c6b2e8cb5b72b6165be814afc46603'/>
<id>urn:sha1:ac819e1044c6b2e8cb5b72b6165be814afc46603</id>
<content type='text'>
</content>
</entry>
<entry>
<title>avoid spurious test failure when df always fails</title>
<updated>2008-11-12T11:53:54Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2008-11-12T11:53:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=36eb45201f596c03802d015b0de9943521e28633'/>
<id>urn:sha1:36eb45201f596c03802d015b0de9943521e28633</id>
<content type='text'>
* tests/df/total-verify: Skip upon _df_ failure, not tee failure.
Reported by Ondřej Vašík.  Details in
&lt;http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/15028&gt;.
</content>
</entry>
<entry>
<title>tests: df/total: don't fail for an inaccessible mount point</title>
<updated>2008-10-25T14:30:54Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2008-10-25T14:30:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=407e8f0fdd74b04a266dafa01ca896779f7706a1'/>
<id>urn:sha1:407e8f0fdd74b04a266dafa01ca896779f7706a1</id>
<content type='text'>
* tests/df/total: Ignore nonzero exit status from df.
</content>
</entry>
<entry>
<title>tests: df: avoid test failure when using mawk</title>
<updated>2008-10-12T09:11:38Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2008-10-12T08:40:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=1833a876ae2497b2bd915b9e1a8f364cef66272e'/>
<id>urn:sha1:1833a876ae2497b2bd915b9e1a8f364cef66272e</id>
<content type='text'>
* tests/df/total-awk: Rewrite to use $PERL, not $AWK.
mawk can't even count above 2^31.  Reported by Ed Avis.
http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/14792/focus=14802
* tests/df/total-verify: Rename from total-awk.
* tests/Makefile.am (TESTS): Reflect renaming.
</content>
</entry>
<entry>
<title>tests: use "Exit $fail", not (exit $fail); exit $fail</title>
<updated>2008-09-10T11:20:10Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2008-09-07T08:31:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=68561594ca022703e255b3ef5686f176317e5fd4'/>
<id>urn:sha1:68561594ca022703e255b3ef5686f176317e5fd4</id>
<content type='text'>
* tests/test-lib.sh (Exit): New function by Ralf Wildenhues in automake
http://git.sv.gnu.org/gitweb/?p=automake.git;a=commitdiff;h=20594c08f63
* tests/**: Convert all uses:

This restrictive change converted the vast majority:

  git grep -l '^(exit \$fail); exit \$fail$' \
    | xargs perl -pi -e 's/'^\(exit \$fail\); exit \$fail$/Exit \$fail/'

And this did the rest, plus a few undesirable ones, so I manually
backed out the changes to ChangeLog-* and build-aux/check.mk:

  git grep -l -E '\(exit [^)]+\); exit ' \
    | xargs perl -pi -e 's/\(exit (.+?)\); exit \1/Exit $1/'
</content>
</entry>
</feed>
