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/cp | |
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/cp')
-rwxr-xr-x | tests/cp/cp-parents | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cp/cp-parents b/tests/cp/cp-parents index bfaf747a0..f4130e668 100755 --- a/tests/cp/cp-parents +++ b/tests/cp/cp-parents @@ -28,7 +28,7 @@ fi working_umask_or_skip_ # Run the setgid check from the just-created directory. -. "$abs_srcdir/setgid-check" +skip_if_setgid_ mkdir foo bar || framework_failure mkdir -p a/b/c d e g || framework_failure |