<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/tests/df, branch v7.3</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=v7.3</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=v7.3'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2009-03-19T17:49:57Z</updated>
<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>
<entry>
<title>tests: don't let rounding-to-1KB blocks provoke a failure</title>
<updated>2008-09-07T18:49:34Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2008-09-07T18:49:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=737461d23fd8e48b597d74d2e30cbb9d1b5a2946'/>
<id>urn:sha1:737461d23fd8e48b597d74d2e30cbb9d1b5a2946</id>
<content type='text'>
* tests/df/total-awk: Use df's --block-size=512 option.
</content>
</entry>
<entry>
<title>df: new option: --total to print grand totals</title>
<updated>2008-09-03T13:39:28Z</updated>
<author>
<name>Kamil Dudka</name>
<email>kdudka@redhat.com</email>
</author>
<published>2008-09-03T08:33:06Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=ea2887bbe4c04e3ff5bae2d532a1e19d3198dfce'/>
<id>urn:sha1:ea2887bbe4c04e3ff5bae2d532a1e19d3198dfce</id>
<content type='text'>
* src/df.c (add_uint_with_neg_flag): New function to add two integral
values with separate negation flag.
(show_dev): New parameter force_fsu to display numbers directly. Collect
summary statistics on each printed device.
(usage): Mention new option --total in --help.
(main): Initialize summary on program start. Handle new option --total.
* tests/df/total: Dummy test case for new --total option.
* tests/df/total-awk: Better test case for new --total option (requires
awk).
* doc/coreutils.texi: Mention new parameter --total.
* NEWS: Mention the change.
* TODO: Removed completed task.
</content>
</entry>
</feed>
