From 427f179542e9f7228f77affdd5a4c50a573b4894 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 24 Apr 2008 12:50:24 +0200 Subject: tests: move another file (expensive) into test-lib.sh * tests/expensive: Remove file. Move contents into ... * tests/test-lib.sh (expensive_): ...here. New function. * tests/du/fd-leak: Update caller to use the new function. * tests/mv/leak-fd: Likewise. * tests/rm/hash: Likewise. * tests/tail-2/big-4gb: Likewise. * tests/Makefile.am (EXTRA_DIST): Remove its name. --- tests/du/fd-leak | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tests/du') diff --git a/tests/du/fd-leak b/tests/du/fd-leak index c4080ffaf..73fe4f8e7 100755 --- a/tests/du/fd-leak +++ b/tests/du/fd-leak @@ -21,10 +21,11 @@ if test "$VERBOSE" = yes; then du --version fi +. $top_srcdir/tests/test-lib.sh + # Call this an expensive test. It's not that expensive, but command line # limitations might induce failure on some losing systems. -. $top_srcdir/tests/expensive -. $top_srcdir/tests/test-lib.sh +expensive_ # Create 1296 (36^2) files. # Their names and separating spaces take up 3887 bytes. -- cgit v1.2.3-70-g09d2