diff options
author | Jim Meyering <meyering@redhat.com> | 2007-12-08 12:29:25 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2008-02-09 10:30:33 +0100 |
commit | 39137a5d05df940410261f4cad2e4a695faf0f7f (patch) | |
tree | 6e4397f4b1ceeb27b41953ffed2c12da1fed9bc4 /tests/sample-test | |
parent | 5282e54c08883cf4ab7ddb3b1874344ff32e5df7 (diff) | |
download | coreutils-39137a5d05df940410261f4cad2e4a695faf0f7f.tar.xz |
tests: Remove priv-check. Use new require_root_ function instead.
* tests/priv-check: Remove file.
* tests/Makefile.am (EXTRA_DIST): Remove priv-check.
* tests/test-lib.sh (require_root_): New function.
Use this function rather than sourcing the priv-check file.
* tests/sample-test: Use require_root_ rather than priv-check.
* tests/chown/basic: Likewise.
* tests/cp/cp-a-selinux: Likewise.
* tests/cp/preserve-gid: Likewise.
* tests/cp/special-bits: Likewise.
* tests/ls/nameless-uid: Likewise.
* tests/misc/chcon: Likewise.
* tests/mkdir/writable-under-readonly: Likewise.
* tests/mv/sticky-to-xpart: Likewise.
* tests/rm/fail-2eperm: Likewise.
* tests/rm/no-give-up: Likewise.
* tests/rm/one-file-system: Likewise.
* tests/tail-2/append-only: Likewise.
* tests/touch/now-owned-by-other: Likewise.
* tests/rm/fail-eperm: Use skip_if_root_ rather than priv-check.
* Makefile.maint (sc_root_tests): Reflect this change:
search for the new function name.
Diffstat (limited to 'tests/sample-test')
-rw-r--r-- | tests/sample-test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/sample-test b/tests/sample-test index e1d0d939f..0da0bca95 100644 --- a/tests/sample-test +++ b/tests/sample-test @@ -23,9 +23,9 @@ fi # FIXME: . $srcdir/../envvar-check # FIXME: . $srcdir/../lang-default -# FIXME: PRIV_CHECK_ARG=require-root . $srcdir/../priv-check . $srcdir/../test-lib.sh -# FIXME skip_if_root_ +# FIXME: skip_if_root_ +# FIXME: require_root_ # If used, these must *follow* test-lib.sh. # FIXME: cleanup_() { rm -rf "$other_partition_tmpdir"; } |