summaryrefslogtreecommitdiff
path: root/tests/cp/existing-perm-race
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2008-05-03 15:43:13 +0200
committerJim Meyering <meyering@redhat.com>2008-05-06 08:21:30 +0200
commit3269104d172bdc0c9ed0a01e6706f1f6e1a2bdda (patch)
tree5fcc6230659c2f956ff5090d40feab70c3820470 /tests/cp/existing-perm-race
parentf15e62d12ed0888d2ee474e74a8e4a3a6219c057 (diff)
downloadcoreutils-3269104d172bdc0c9ed0a01e6706f1f6e1a2bdda.tar.xz
tests: move "group-names" into test-lib.sh
* tests/group-names: Remove file Move contents into ... * tests/test-lib.sh (require_membership_in_two_groups_): ...here. New function. * tests/chgrp/basic: Use the function, not the file. * tests/chgrp/default-no-deref: Likewise. * tests/chgrp/deref: Likewise. * tests/chgrp/no-x: Likewise. * tests/chgrp/posix-H: Likewise. * tests/chgrp/recurse: Likewise. * tests/cp/existing-perm-race: Likewise. * tests/Makefile.am (EXTRA_DIST): Remove group-names.
Diffstat (limited to 'tests/cp/existing-perm-race')
-rwxr-xr-xtests/cp/existing-perm-race2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cp/existing-perm-race b/tests/cp/existing-perm-race
index aa6d7c99a..f2a328723 100755
--- a/tests/cp/existing-perm-race
+++ b/tests/cp/existing-perm-race
@@ -21,8 +21,8 @@ if test "$VERBOSE" = yes; then
cp --version
fi
-. $top_srcdir/tests/group-names
. $top_srcdir/tests/test-lib.sh
+require_membership_in_two_groups_
set _ $groups; shift
g1=$1