summaryrefslogtreecommitdiff
path: root/tests/cp/cp-parents
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-03-27 09:23:35 +0100
committerJim Meyering <meyering@redhat.com>2009-03-27 09:28:08 +0100
commite65d0d0525159f963b3b859706dc920bcae0a636 (patch)
tree1932498e87117e6c870f7cabaa0e919b854d1cc4 /tests/cp/cp-parents
parent9b6538aa8dbac7ac310487a14d031dce1191921b (diff)
downloadcoreutils-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/cp-parents')
-rwxr-xr-xtests/cp/cp-parents2
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