summaryrefslogtreecommitdiff
path: root/tests/rm/hash
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-05-20 09:09:18 +0000
committerJim Meyering <jim@meyering.net>2000-05-20 09:09:18 +0000
commit8fd90d4b2ba38b32d7b65be22ef1f9863726d704 (patch)
treef20392494e744cacd428037b3183cfd80296c278 /tests/rm/hash
parentd402b210ea4ee77e0eaa394d75edba1f14537c3e (diff)
downloadcoreutils-8fd90d4b2ba38b32d7b65be22ef1f9863726d704.tar.xz
add RUN_EXPENSIVE_TESTS junk
Diffstat (limited to 'tests/rm/hash')
-rwxr-xr-xtests/rm/hash12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/rm/hash b/tests/rm/hash
index 17587b182..ba1aa1751 100755
--- a/tests/rm/hash
+++ b/tests/rm/hash
@@ -3,6 +3,18 @@
# Before then, rm would fail occasionally, sometimes via
# a failed assertion, others with a seg fault.
+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
+fi
+
if test "$VERBOSE" = yes; then
set -x
rm --version