<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/tests/rm, branch v6.8</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=v6.8</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=v6.8'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2007-02-24T12:57:51Z</updated>
<entry>
<title>Remove the "gnits" option; it prohibits my using "+" as a version</title>
<updated>2007-02-24T12:57:51Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2007-02-24T12:57:51Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=e98137ddd4d172048a792fb792925aa269ff8d11'/>
<id>urn:sha1:e98137ddd4d172048a792fb792925aa269ff8d11</id>
<content type='text'>
string suffix, and all it does (beyond the default "gnu" option)
is to _require_ the THANKS file.
* configure.ac (AM_INIT_AUTOMAKE): Remove it.

Remove all AUTOMAKE_OPTIONS settings in Makefile.am files.
* tests/chgrp/Makefile.am, tests/chmod/Makefile.am:
* tests/chown/Makefile.am, tests/cp/Makefile.am:
* tests/du/Makefile.am, tests/expr/Makefile.am:
* tests/factor/Makefile.am, tests/general/Makefile.am:
* tests/install/Makefile.am, tests/ln/Makefile.am:
* tests/ls/Makefile.am, tests/mkdir/Makefile.am:
* tests/mv/Makefile.am, tests/readlink/Makefile.am:
* tests/rm/Makefile.am, tests/rmdir/Makefile.am:
* tests/seq/Makefile.am, tests/stty/Makefile.am:
* tests/tee/Makefile.am, tests/touch/Makefile.am:
</content>
</entry>
<entry>
<title>* tests/rm/fail-eacces: Skip this test when running as root.</title>
<updated>2007-02-18T16:40:06Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2007-02-18T16:40:06Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=c95bb0c6f075e9301c13bbfc107517cde1575bb4'/>
<id>urn:sha1:c95bb0c6f075e9301c13bbfc107517cde1575bb4</id>
<content type='text'>
Reported by Matthew Woehlke.
</content>
</entry>
<entry>
<title>Make "rm --interactive=never ..." never prompt.</title>
<updated>2007-01-17T16:15:20Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2007-01-17T16:02:40Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=0928c2414ab21682600e6572bc628a405fb1ea80'/>
<id>urn:sha1:0928c2414ab21682600e6572bc628a405fb1ea80</id>
<content type='text'>
* NEWS: Mention this.
* src/remove.h (enum rm_interactive): New ternary type.
(struct rm_options) [interactive]: Use it, here -- rather than bool.
* src/remove.c (prompt): Reflect type change.
* src/mv.c (rm_option_init): Initialize to RMI_NEVER now.
* src/rm.c (main): Add a FIXME comment for '-d' option.
Adapt to type change of rm_options.interactive.

* tests/rm/i-never: New file.  Test for the above fix.
* tests/rm/Makefile.am (TESTS): Add i-never.
</content>
</entry>
<entry>
<title>Put CU_TEST_NAME in the environment for each test run by "make check".</title>
<updated>2007-01-13T10:32:19Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2007-01-13T10:32:19Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=9c88531fb059e3c32138359fb9b8615858af0f94'/>
<id>urn:sha1:9c88531fb059e3c32138359fb9b8615858af0f94</id>
<content type='text'>
* Transform all Makefile.am files so that when running "make check",
CU_TEST_NAME is set to the name of the test.  This is so that when I
run valgrind-enabled (--log-file-qualifier=CU_TEST_NAME) "make check"
on the entire package it is more convenient to map a leak or error
found in a valgrind log file back to the offending test.
Use this command:
(echo tests/Makefile.am.in; find tests -name Makefile.am) \
 |xargs perl -pi -e '/^(\s*)PATH=...VG_PATH_PREFIX/ and ' \
   -e 'print $1,q|CU_TEST_NAME=`basename $(abs_srcdir)`,$$tst |,"\\\n"'
</content>
</entry>
<entry>
<title>* tests/rm/fail-eperm: Instead, simply transform the actual output diagnostic.</title>
<updated>2007-01-01T09:56:01Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2007-01-01T09:56:01Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=3b8560a63764595791245892cc8bd5877e0af508'/>
<id>urn:sha1:3b8560a63764595791245892cc8bd5877e0af508</id>
<content type='text'>
Test failure reported by Bob Proulx.
</content>
</entry>
<entry>
<title>* tests/rm/fail-eperm: Revert last change.  The PATH=... setting</title>
<updated>2007-01-01T08:51:43Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2007-01-01T08:51:43Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=b5ef9617c4e4d2211984441c52d3318b5513517b'/>
<id>urn:sha1:b5ef9617c4e4d2211984441c52d3318b5513517b</id>
<content type='text'>
is not honored at least on HP-UX 11.23 systems.
</content>
</entry>
<entry>
<title>* tests/rm/fail-eperm: Avoid spurious differences (the error function</title>
<updated>2006-12-30T11:50:43Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2006-12-30T11:50:43Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=5017d1b4e1879cf1cf644c02205eca3f2b18a947'/>
<id>urn:sha1:5017d1b4e1879cf1cf644c02205eca3f2b18a947</id>
<content type='text'>
from latest glibc no longer prints the full program_name): so don't
invoke rm via ../../src/rm.  Instead, invoke it via "PATH=../../src rm".
</content>
</entry>
<entry>
<title>"rm -rf /etc/motd" (run by non-root) now prints a diagnostic.</title>
<updated>2006-12-21T07:58:11Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2006-12-20T18:56:20Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=c8ef95eaed944ec70ccd70c077cf465c6311c1b6'/>
<id>urn:sha1:c8ef95eaed944ec70ccd70c077cf465c6311c1b6</id>
<content type='text'>
* src/remove.c (remove_entry): Handle EACCES for a non-directory, too.
Karl Berry reported that a cross-partition "mv /etc/issue ~"
failed with the um,... suboptimal diagnostic,
"mv: cannot remove `/etc/issue': Not a directory".
* tests/rm/Makefile.am (TESTS): Add fail-eacces.
* tests/rm/fail-eacces: New file.
* NEWS: Mention that both mv and rm are affected.
</content>
</entry>
<entry>
<title>* tests/rm/one-file-system: Upon setup failure (e.g., mount failure),</title>
<updated>2006-11-21T08:32:55Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2006-11-21T08:32:55Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=d66091126a729ffbdc53ac52cf31cb0b30e6711e'/>
<id>urn:sha1:d66091126a729ffbdc53ac52cf31cb0b30e6711e</id>
<content type='text'>
skip the test rather than failing.  Reported by Michael Deutschmann.
</content>
</entry>
<entry>
<title>* tests/rm/fail-eperm: Use the "(exit N); exit N" idiom,</title>
<updated>2006-11-21T08:03:27Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2006-11-21T08:03:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=41b5fe32466744c703b23e2502d970bf2b4d593a'/>
<id>urn:sha1:41b5fe32466744c703b23e2502d970bf2b4d593a</id>
<content type='text'>
rather than just "exit N".
</content>
</entry>
</feed>
