<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/tests/test-lib.sh, branch v7.5</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=v7.5</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=v7.5'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2009-07-30T15:47:21Z</updated>
<entry>
<title>tests: new function: require_openat_support_</title>
<updated>2009-07-30T15:47:21Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2009-07-29T12:59:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=c06547cadeed50e85b1de661634a39f7321e562c'/>
<id>urn:sha1:c06547cadeed50e85b1de661634a39f7321e562c</id>
<content type='text'>
* tests/rm/inaccessible: Factor out openat-support-detection code...
* tests/test-lib.sh (require_openat_support_): ...into this new function.
</content>
</entry>
<entry>
<title>tests: use the "nobody" user's group as the default group id</title>
<updated>2009-07-04T08:47:56Z</updated>
<author>
<name>Giuseppe Scrivano</name>
<email>gscrivano@gnu.org</email>
</author>
<published>2009-07-04T08:14:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=42cd6653b06e63fc36ef3f105fd37de036012e05'/>
<id>urn:sha1:42cd6653b06e63fc36ef3f105fd37de036012e05</id>
<content type='text'>
* tests/chroot/credentials: Use the group id, not its name.
* tests/test-lib.sh (NON_ROOT_GROUP): Use the "nobody" user's group in
place of "nogroup".
</content>
</entry>
<entry>
<title>maint: revert last change: we're not ready for "local" in scripts, yet</title>
<updated>2009-06-15T17:37:42Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2009-06-15T17:37:42Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=f51a401bc274c6f095e3087d6c67a1fa25e3a92b'/>
<id>urn:sha1:f51a401bc274c6f095e3087d6c67a1fa25e3a92b</id>
<content type='text'>
Revert "use a local var: more readable"
This reverts commit c0d82452883a10911c9cbc69c84144d99b7e6b08.
</content>
</entry>
<entry>
<title>use a local var: more readable</title>
<updated>2009-06-15T16:34:21Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2009-06-14T12:43:16Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=c0d82452883a10911c9cbc69c84144d99b7e6b08'/>
<id>urn:sha1:c0d82452883a10911c9cbc69c84144d99b7e6b08</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tail: use inotify if it is available</title>
<updated>2009-06-15T16:34:14Z</updated>
<author>
<name>Giuseppe Scrivano</name>
<email>gscrivano@gnu.org</email>
</author>
<published>2009-06-02T06:28:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=ae494d4be80df2aff50a2ac46fdc0c23de109ea3'/>
<id>urn:sha1:ae494d4be80df2aff50a2ac46fdc0c23de109ea3</id>
<content type='text'>
* NEWS: Document the new feature.
* m4/jm-macros.m4: Check if inotify is present.
* src/tail.c (tail_forever_inotify): New function.
(main): Use the inotify-based function, if possible.
* tests/Makefile.am: Add new tests for tail.
* tests/test-lib.sh (require_proc_pid_status_, get_process_status_):
New functions.
* tests/tail-2/pid: New file.
* tests/tail-2/wait: New file.
* tests/tail-2/tail-n0f: Refactor code into the test-lib.sh
require_proc_pid_status_ function.
</content>
</entry>
<entry>
<title>tests: use "nobody" as the default group name in chroot test</title>
<updated>2009-06-02T14:34:53Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2009-05-28T20:36:05Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=df356c22ba9a5c21fe1e393593d0669eb6b1426b'/>
<id>urn:sha1:df356c22ba9a5c21fe1e393593d0669eb6b1426b</id>
<content type='text'>
* tests/test-lib.sh (NON_ROOT_GROUP): Use "nobody", not "nogroup".
</content>
</entry>
<entry>
<title>chroot: accept new options --userspec=U:G and --groups=G1,G2,G3</title>
<updated>2009-05-26T13:10:22Z</updated>
<author>
<name>Giuseppe Scrivano</name>
<email>gscrivano@gnu.org</email>
</author>
<published>2009-05-01T21:50:11Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=c45c51fe97193898f3909dcf5e4c0e117ab239a2'/>
<id>urn:sha1:c45c51fe97193898f3909dcf5e4c0e117ab239a2</id>
<content type='text'>
* NEWS: Note chroot's new options.
* doc/coreutils.texi: Document them.
* src/chroot.c (main): Add support for --userspec and --groups.
* tests/Makefile.am (root-tests): Add chroot/credentials.
* tests/chroot/credentials: New file.
* tests/test-lib.sh: Define NON_ROOT_GROUP to a default value.
</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: reflect the s/+/./ SELinux indicator change</title>
<updated>2009-03-02T08:35:12Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2009-02-27T08:16:45Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=0433f90e3d388734888dad17f5fc2f106c59faf4'/>
<id>urn:sha1:0433f90e3d388734888dad17f5fc2f106c59faf4</id>
<content type='text'>
* tests/mkdir/perm: Now that this test is no longer always skipped,
make it work independently of ls: use stat, not ls, to get perm string.
* test-lib.sh (rwx_to_mode_): Use stat, not ls to get perm string
This test was run only when RUN_VERY_EXPENSIVE_TESTS=yes was set.
</content>
</entry>
<entry>
<title>tests: when skipping a test, say why on screen, not just in the log</title>
<updated>2009-03-02T08:35:12Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2009-02-27T08:12:14Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=1c7d5b58476d5bf5ab8db5d025b7d0820611aae7'/>
<id>urn:sha1:1c7d5b58476d5bf5ab8db5d025b7d0820611aae7</id>
<content type='text'>
* tests/test-lib.sh: Redirect also to descriptor 9.
Better one-line why-skip diagnostics.
* tests/check.mk (TESTS_ENVIRONMENT): Redirect 9 to stderr.
* tests/misc/pwd-unreadable-parent: Remove redundant "skipping..." diag.
</content>
</entry>
</feed>
