tests: migrate setgid-check into test-lib.sh
commite65d0d0525159f963b3b859706dc920bcae0a636
authorJim Meyering <meyering@redhat.com>
Fri, 27 Mar 2009 08:23:35 +0000 (27 09:23 +0100)
committerJim Meyering <meyering@redhat.com>
Fri, 27 Mar 2009 08:28:08 +0000 (27 09:28 +0100)
tree1932498e87117e6c870f7cabaa0e919b854d1cc4
parent9b6538aa8dbac7ac310487a14d031dce1191921b
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/Makefile.am
tests/chmod/c-option
tests/cp/cp-parents
tests/install/install-C
tests/mkdir/parents
tests/mkdir/perm
tests/setgid-check [deleted file]
tests/test-lib.sh