<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/tests/install, 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-04-19T20:17:08Z</updated>
<entry>
<title>tests: avoid failure of install-C test on FreeBSD UFS file system</title>
<updated>2009-04-19T20:17:08Z</updated>
<author>
<name>Aurelien Jarno</name>
<email>aurelien@aurel32.net</email>
</author>
<published>2009-04-17T16:10:04Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=e453e720b906a422dbaa7e3a40ee607fe4727912'/>
<id>urn:sha1:e453e720b906a422dbaa7e3a40ee607fe4727912</id>
<content type='text'>
* tests/install/install-C: Use 2755 (set-gid), not 1755 (sticky),
to test install -C with non-permission mode bits set.  At least on
FreeBSD with a UFS file system, a non-root user may not set the
sticky bit on a non-directory.
</content>
</entry>
<entry>
<title>tests: avoid spurious test failure in set-GID build dir</title>
<updated>2009-03-27T08:39:51Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2009-03-27T08:26:03Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=e412e5cb495627202d5697cb8fe042b761e2b7d5'/>
<id>urn:sha1:e412e5cb495627202d5697cb8fe042b761e2b7d5</id>
<content type='text'>
* tests/install/install-C-root: Skip this test if in set-gid directory.
Reported by Sven Joachim and C de-Avillez.
</content>
</entry>
<entry>
<title>tests: migrate setgid-check into test-lib.sh</title>
<updated>2009-03-27T08:28:08Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2009-03-27T08:23:35Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=e65d0d0525159f963b3b859706dc920bcae0a636'/>
<id>urn:sha1:e65d0d0525159f963b3b859706dc920bcae0a636</id>
<content type='text'>
* tests/test-lib.sh (skip_if_setgid_): New function.
* tests/setgid-check: Remove file.
* tests/Makefile.am (EXTRA_DIST): Remove setgid-check.
* tests/chmod/c-option: Use the new function rather than sourcing
the separate file.
* tests/cp/cp-parents: Likewise.
* tests/install/install-C: Likewise.
* tests/mkdir/parents: Likewise.
* tests/mkdir/perm: Likewise.
</content>
</entry>
<entry>
<title>tests: skip new install-C test if working directory is set-gid</title>
<updated>2009-02-21T18:49:40Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2009-02-21T18:48:30Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=31896c21c6ab32f8c897b36ec1507696657121cf'/>
<id>urn:sha1:31896c21c6ab32f8c897b36ec1507696657121cf</id>
<content type='text'>
* tests/install/install-C: Use setgid-check.
</content>
</entry>
<entry>
<title>add missing copyright dates</title>
<updated>2009-02-18T13:07:30Z</updated>
<author>
<name>Eric Blake</name>
<email>ebb9@byu.net</email>
</author>
<published>2009-02-18T13:07:30Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=86cef85b3671ed0a14a444eef3b6cb07fa26ee64'/>
<id>urn:sha1:86cef85b3671ed0a14a444eef3b6cb07fa26ee64</id>
<content type='text'>
* NEWS: Add 2009 to copyright.
* README: Likewise.
* README-hacking: Likewise.
* TODO: Likewise.
* doc/Makefile.am: Likewise.
* m4/prereq.m4: Likewise.
* src/nl.c: Likewise.
* src/seq.c: Likewise.
* tests/cp/cp-i: Likewise.
* tests/install/install-C: Likewise.
* tests/install/install-C-root: Likewise.
* tests/install/install-C-selinux: Likewise.
* tests/misc/seq: Likewise.
* tests/mv/mv-n: Likewise.
</content>
</entry>
<entry>
<title>install: add --compare (-C) option to install file only when necessary</title>
<updated>2009-02-17T13:12:44Z</updated>
<author>
<name>Kamil Dudka</name>
<email>kdudka@redhat.com</email>
</author>
<published>2009-02-17T12:16:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=dac5f12c6ed1225bfb8043d9ff7227d29439a955'/>
<id>urn:sha1:dac5f12c6ed1225bfb8043d9ff7227d29439a955</id>
<content type='text'>
* src/install.c (have_same_content): New function to compare files
content.
(extra_mode): New function checking for non-permission bits in mode.
(need_copy): New function to check if copy is necessary.
(main): Handle new option --compare (-C).
(copy_file): Skip file copying if not necessary.
(usage): Show new option --compare (-C) in --help.
* tests/install/install-C: Basic tests for install --compare (-C).
* tests/install/install-C-root: Tests requiring root privileges.
* tests/install/install-C-selinux: Tests requiring SELinux.
* tests/Makefile.am: Add new tests for install --compare (-C).
* doc/coreutils.texi: Document new install option --compare (-C).
* NEWS: Mention the change.
</content>
</entry>
<entry>
<title>tests: fix the install/strip-program test</title>
<updated>2008-10-04T15:12:08Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2008-10-04T15:12:08Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=fbc5aa7c47597694d8973a134143a2281748eec6'/>
<id>urn:sha1:fbc5aa7c47597694d8973a134143a2281748eec6</id>
<content type='text'>
* tests/install/strip-program: Use $PREFERABLY_POSIX_SHELL,
not POSIX_SHELL.  The latter may be empty, and would fail
on OpenBSD 3.9.
* tests/check.mk (TESTS_ENVIRONMENT): Propagate
PREFERABLY_POSIX_SHELL to tests.
</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>install: new option: --strip-program,</title>
<updated>2008-09-06T11:38:20Z</updated>
<author>
<name>Kamil Dudka</name>
<email>kdudka@redhat.com</email>
</author>
<published>2008-09-05T11:12:06Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=54281e9c6058b13841828d7994a596665d2e628a'/>
<id>urn:sha1:54281e9c6058b13841828d7994a596665d2e628a</id>
<content type='text'>
...to specify the program used to strip binaries
* src/install.c (main): Handle new option --strip-program.
(strip): Use strip program from global variable strip_program.
(usage): Mention new option --strip-program in --help.
* tests/tests/strip-program: Test case for new option --strip-program.
* tests/Makefile.am: Add new test case to test set.
* doc/coreutils.texi: Mention new option --strip-program.
* NEWS: Mention the change.
* TODO: Remove completed task.
</content>
</entry>
<entry>
<title>in 280+ tests/* files, use $srcdir, not $top_srcdir/tests</title>
<updated>2008-05-27T11:48:32Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2008-05-27T11:45:44Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=00a309823501317f9061a28e98cc13177bc4a12a'/>
<id>urn:sha1:00a309823501317f9061a28e98cc13177bc4a12a</id>
<content type='text'>
</content>
</entry>
</feed>
