summaryrefslogtreecommitdiff
path: root/tests/mv/acl
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2007-11-29 08:55:47 +0100
committerJim Meyering <meyering@redhat.com>2008-02-09 10:30:33 +0100
commit0f197c8acd0b74a4496284491b59ceea84f8652b (patch)
tree87bd42a853aaf49fc332a912860cda26e8bc7812 /tests/mv/acl
parent1bfffd6a2dc1b62440429e3c7bd46564fbc1c1f9 (diff)
downloadcoreutils-0f197c8acd0b74a4496284491b59ceea84f8652b.tar.xz
tests: start migrating sourced-file function-like tests into test-lib.sh.
* tests/acl: Remove file. * tests/test-lib.sh (require_acl_): New function. * tests/cp/acl: Use require_acl_ instead. * tests/mv/acl: Likewise. * tests/Makefile.am (EXTRA_DIST): Remove acl.
Diffstat (limited to 'tests/mv/acl')
-rwxr-xr-xtests/mv/acl4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/mv/acl b/tests/mv/acl
index 894397a93..f60f68050 100755
--- a/tests/mv/acl
+++ b/tests/mv/acl
@@ -17,8 +17,6 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-. $srcdir/../acl
-
# Skip this test if cp was built without ACL support:
grep '^#define USE_ACL 0' $CONFIG_HEADER > /dev/null && \
{
@@ -35,6 +33,8 @@ fi
. $srcdir/../lang-default
. $srcdir/../test-lib.sh
+require_acl_
+
cleanup_() { rm -rf "$other_partition_tmpdir"; }
. "$abs_top_srcdir/tests/other-fs-tmpdir"