<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/tests/rm, branch v8.22</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=v8.22</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=v8.22'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2013-12-09T13:14:38Z</updated>
<entry>
<title>tests: fix false failure on systems without /dev/stdin</title>
<updated>2013-12-09T13:14:38Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2013-12-09T13:10:40Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=b1fb185db87d9e173a2e1eacd1d58e9a1bdbeb40'/>
<id>urn:sha1:b1fb185db87d9e173a2e1eacd1d58e9a1bdbeb40</id>
<content type='text'>
* tests/rm/interactive-once.sh: Ensure the expected output
matches with the output on systems without /dev/stdin (like AIX 7).
Also change some fail=1 to a more appropriate framework_failure_.
</content>
</entry>
<entry>
<title>tests: add a test for rm -r "/"</title>
<updated>2013-11-29T12:22:03Z</updated>
<author>
<name>Bernhard Voelker</name>
<email>mail@bernhard-voelker.de</email>
</author>
<published>2013-11-29T08:20:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=1b179421df864af61c9f4f4fb587c59947e67c22'/>
<id>urn:sha1:1b179421df864af61c9f4f4fb587c59947e67c22</id>
<content type='text'>
* tests/rm/r-root.sh: Add a non-root test.
* tests/local.mk (all_tests): Mention the test.
</content>
</entry>
<entry>
<title>tests: enhance rm test regarding "." and ".."</title>
<updated>2013-11-22T14:54:06Z</updated>
<author>
<name>Bernhard Voelker</name>
<email>mail@bernhard-voelker.de</email>
</author>
<published>2013-11-22T14:54:06Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=2fa074ebd43cbfea0f6b4bc92a4099a273458562'/>
<id>urn:sha1:2fa074ebd43cbfea0f6b4bc92a4099a273458562</id>
<content type='text'>
Recent commit 2da7009d changed the error diagnostic of rm(1) trying
to remove "." or "..".  Enhance the corresponding test.

* tests/rm/r-4.sh: Ensure rm(1) outputs the expected error diagnostic.
</content>
</entry>
<entry>
<title>tests: fix false rm -I test failure when run as root</title>
<updated>2013-11-18T01:30:19Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2013-11-15T18:16:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=65f8a39d90dd223e52c1077a6a37eabf05e95e21'/>
<id>urn:sha1:65f8a39d90dd223e52c1077a6a37eabf05e95e21</id>
<content type='text'>
Fix a recent regression introduced in commit v8.21-127-g5ee7d8f

Also related to this is the recent query about root run `rm -I`
ignoring the mode bits of a file: https://bugzilla.redhat.com/1013171

* tests/rm/interactive-once.sh: Avoid the messages and
corresponding file presence checks with write protected files
when running as root.
</content>
</entry>
<entry>
<title>rm: with -I, prompt before deleting a write protected file</title>
<updated>2013-09-26T10:25:05Z</updated>
<author>
<name>Sergio Durigan Junior</name>
<email>sergiodj@sergiodj.net</email>
</author>
<published>2013-09-25T10:02:08Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=5ee7d8f55bb0a48fd2cd5bc3c12b3db588d98beb'/>
<id>urn:sha1:5ee7d8f55bb0a48fd2cd5bc3c12b3db588d98beb</id>
<content type='text'>
This regression was introduced in commit v6.7-71-g0928c24

* src/rm.c (main): Make the -I option behave like --interactive=once.
* tests/rm/interactive-once.sh: Add cases for single and multiple files.
* NEWS: Mention the bug fix.
Fixes http://bugs.gnu.org/9308
</content>
</entry>
<entry>
<title>rm: output number of arguments at the interactive prompt</title>
<updated>2013-07-19T11:27:09Z</updated>
<author>
<name>Rasmus Villemoes</name>
<email>rv@rasmusvillemoes.dk</email>
</author>
<published>2013-07-18T21:53:12Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=c490a6ff2b7336121428c908de1ad4ceb87f6199'/>
<id>urn:sha1:c490a6ff2b7336121428c908de1ad4ceb87f6199</id>
<content type='text'>
Include the number of arguments which rm received in the "Remove all
arguments?" prompt.  This is useful in the, presumably, common case
where the arguments were not provided by hand, but instead were the
result of various shell expansions.  A simple, if somewhat contrived,
example (assuming rm is aliased to rm -I) could be:

  rm * .o

where the prompt "Remove 120 arguments?" is more likely to make
the user catch the problem.

* src/rm.c (main): Include correctly pluralized n_files
in the output message.  Also remove the now redudant "all".
* tests/rm/interactive-always.sh: Adjust to the new prompt.
* tests/rm/interactive-once.sh: Likewise.
</content>
</entry>
<entry>
<title>tests: fix usage of require_ulimit_</title>
<updated>2013-04-25T10:13:48Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2013-04-25T10:03:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=94f4f658f029f5d0083c6e8fab75d74b73ee5a33'/>
<id>urn:sha1:94f4f658f029f5d0083c6e8fab75d74b73ee5a33</id>
<content type='text'>
* init.cfg (require_ulimit_v_): Renamed from require_ulimit_
as this only checks for ulimit -v support.  Other uses of
ulimit -t and ulimit -n in tests shouldn't cause false failures
if not supported.
* cfg.mk (sc_prohibit_test_ulimit_without_require_): A new syntax check
to ensure that require_ulimit_v_() is used iff required.
* tests/misc/head-c.sh: Add missing call to require_ulimit_v_.
* tests/rm/many-dir-entries-vs-OOM.sh: Likewise.
* tests/split/r-chunk.sh: Remove non mandatory require_ulimit_ call.
* tests/misc/sort-merge-fdlimit.sh: Likewise.
* tests/cp/link-heap.sh: Adjust to renamed require_ulimit_v_.
* tests/dd/no-allocate.sh: Likewise.
* tests/misc/csplit-heap.sh: Likewise.
* tests/misc/cut-huge-to-eol-range.sh: Likewise.
* tests/misc/printf-surprise.sh: Likewise.
</content>
</entry>
<entry>
<title>tests: avoid false failures on file systems with smaller NAME_MAX</title>
<updated>2013-02-20T04:04:00Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2013-02-19T12:06:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=b469fa044a81762a9eb0da92b4fb47467154c4f1'/>
<id>urn:sha1:b469fa044a81762a9eb0da92b4fb47467154c4f1</id>
<content type='text'>
* tests/du/long-from-unreadable.sh: This test requires a NAME_MAX
of at least 200, so skip the test otherwise.
* tests/rm/deep-2.sh: Likewise.
Reported by C de-Avillez with ecryptfs where NAME_MAX = 143.
</content>
</entry>
<entry>
<title>maint: update all copyright year number ranges</title>
<updated>2013-01-01T03:51:20Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2013-01-01T02:54:51Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=77da73c75432f3c5b4beebae7b0797a1e33160bc'/>
<id>urn:sha1:77da73c75432f3c5b4beebae7b0797a1e33160bc</id>
<content type='text'>
Run "make update-copyright", but then also run this,
  perl -pi -e 's/2\d\d\d-//' tests/sample-test
to make that one script use the single most recent year number.
</content>
</entry>
<entry>
<title>tests: accept EEXIST from rm -d</title>
<updated>2012-11-24T15:29:56Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2012-11-22T10:36:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=fac673a577aa78fec7b838a8fe727f41bd56bbe3'/>
<id>urn:sha1:fac673a577aa78fec7b838a8fe727f41bd56bbe3</id>
<content type='text'>
* tests/rm/d-2.sh: EEXIST is a valid error on some systems.
Reported by Michael Felt on AIX 6.1
</content>
</entry>
</feed>
