diff options
author | Jim Meyering <meyering@redhat.com> | 2009-03-27 09:23:35 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2009-03-27 09:28:08 +0100 |
commit | e65d0d0525159f963b3b859706dc920bcae0a636 (patch) | |
tree | 1932498e87117e6c870f7cabaa0e919b854d1cc4 /tests/chmod | |
parent | 9b6538aa8dbac7ac310487a14d031dce1191921b (diff) | |
download | coreutils-e65d0d0525159f963b3b859706dc920bcae0a636.tar.xz |
tests: migrate setgid-check into test-lib.sh
* 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.
Diffstat (limited to 'tests/chmod')
-rwxr-xr-x | tests/chmod/c-option | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/chmod/c-option b/tests/chmod/c-option index eb8530a52..7bf9e781f 100755 --- a/tests/chmod/c-option +++ b/tests/chmod/c-option @@ -28,7 +28,7 @@ file=f touch $file || framework_failure chmod 444 $file || framework_failure -. "$abs_srcdir/setgid-check" +skip_if_setgid_ fail=0 |