]> git.ipfire.org Git - thirdparty/coreutils.git/commit
tests: use chroot --user rather than internal setuidgid tool
authorPádraig Brady <P@draigBrady.com>
Mon, 19 May 2014 17:21:57 +0000 (18:21 +0100)
committerPádraig Brady <P@draigBrady.com>
Wed, 21 May 2014 10:18:27 +0000 (11:18 +0100)
commit7a63d6395ac117b753a18468a9b3f5ed95d176d4
treec01b1115f71bd4a4b98b1dc6f9383d4228507e5f
parent0c4729516baa2fbefb0af66c38f434b1f7519078
tests: use chroot --user rather than internal setuidgid tool

* init.cfg (require_root_): Adjust to use chroot, and make
`require_built_ chroot` implicit when chroot used in the test.
* po/POTFILES.in: Remove reference to setuidgid tool.
* src/.gitignore: Likewise.
* src/local.mk: Likewise.
* src/setuidgid.c: Remove.
* tests/cp/preserve-gid.sh: s/setuidgid/chroot --user/.
* tests/cp/special-bits.sh: Likewise.
* tests/id/setgid.sh: Likewise.
* tests/misc/truncate-owned-by-other.sh
* tests/mv/sticky-to-xpart.sh: Likewise.
* tests/rm/fail-2eperm.sh: Likewise.
* tests/rm/no-give-up.sh: Likewise.
* tests/touch/now-owned-by-other.sh: Likewise.
* tests/misc/chroot-fail.sh: Skip if chroot not built.
14 files changed:
init.cfg
po/POTFILES.in
src/.gitignore
src/local.mk
src/setuidgid.c [deleted file]
tests/cp/preserve-gid.sh
tests/cp/special-bits.sh
tests/id/setgid.sh
tests/misc/chroot-fail.sh
tests/misc/truncate-owned-by-other.sh
tests/mv/sticky-to-xpart.sh
tests/rm/fail-2eperm.sh
tests/rm/no-give-up.sh
tests/touch/now-owned-by-other.sh