diff options
author | Jim Meyering <meyering@redhat.com> | 2008-04-24 12:50:24 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2008-04-27 21:31:32 +0200 |
commit | 427f179542e9f7228f77affdd5a4c50a573b4894 (patch) | |
tree | be86b7543a8777f22288e576b032d6ef4a3931bc /tests/expensive | |
parent | 8dc387dba567da10e2e90107fd044baaef580145 (diff) | |
download | coreutils-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/expensive')
-rw-r--r-- | tests/expensive | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/tests/expensive b/tests/expensive deleted file mode 100644 index c365f702b..000000000 --- a/tests/expensive +++ /dev/null @@ -1,28 +0,0 @@ -# Is a test expensive? - -# Copyright (C) 2000, 2004 Free Software Foundation, Inc. - -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. - -if test "$RUN_EXPENSIVE_TESTS" != yes; then - cat <<EOF >&2 -$0: This test is relatively expensive, so it is disabled by default. -To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS -environment variable set to yes. E.g., - - env RUN_EXPENSIVE_TESTS=yes make check - -EOF - (exit 77); exit 77 -fi |