summaryrefslogtreecommitdiff
path: root/tests/du/fd-leak
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2008-04-24 12:50:24 +0200
committerJim Meyering <meyering@redhat.com>2008-04-27 21:31:32 +0200
commit427f179542e9f7228f77affdd5a4c50a573b4894 (patch)
treebe86b7543a8777f22288e576b032d6ef4a3931bc /tests/du/fd-leak
parent8dc387dba567da10e2e90107fd044baaef580145 (diff)
downloadcoreutils-427f179542e9f7228f77affdd5a4c50a573b4894.tar.xz
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.
Diffstat (limited to 'tests/du/fd-leak')
-rwxr-xr-xtests/du/fd-leak5
1 files changed, 3 insertions, 2 deletions
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.