From e65d0d0525159f963b3b859706dc920bcae0a636 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 27 Mar 2009 09:23:35 +0100 Subject: 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. --- tests/cp/cp-parents | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/cp/cp-parents') 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 -- cgit v1.2.3-54-g00ecf