summaryrefslogtreecommitdiff
path: root/tests/other-fs-tmpdir
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-03-29 09:59:23 +0200
committerJim Meyering <meyering@redhat.com>2009-03-29 09:59:23 +0200
commitd99c479311a006391485e1c0e351715d2bd279b7 (patch)
treee1ec80d4b48f866a1b99474304d9996ea7f3024c /tests/other-fs-tmpdir
parent9f39fa8559a8f87e1199f11f6cee295ac8cf6781 (diff)
downloadcoreutils-d99c479311a006391485e1c0e351715d2bd279b7.tar.xz
tests: other-fs-tmpdir: avoid bogus "skipped **********..." diagnostic
* tests/other-fs-tmpdir (CANDIDATE_TMP_DIRS): Add /dev/shm to the list. Don't use a line of asterisks as the first line of the "why skipped" diagnostic, now that that line is printed on 'make check's stderr.
Diffstat (limited to 'tests/other-fs-tmpdir')
-rw-r--r--tests/other-fs-tmpdir13
1 files changed, 6 insertions, 7 deletions
diff --git a/tests/other-fs-tmpdir b/tests/other-fs-tmpdir
index a56f7b186..885085736 100644
--- a/tests/other-fs-tmpdir
+++ b/tests/other-fs-tmpdir
@@ -4,7 +4,8 @@
# of the current directory. If one is found, create a temporary directory
# inside it.
-# Copyright (C) 1998, 1999, 2001, 2002, 2005, 2007-2008 Free Software Foundation, Inc.
+# Copyright (C) 1998, 1999, 2001, 2002, 2005, 2007-2009
+# 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
@@ -20,7 +21,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
test "${CANDIDATE_TMP_DIRS+set}" = set \
- || CANDIDATE_TMP_DIRS="$TMPDIR /tmp /var/tmp /usr/tmp $HOME"
+ || CANDIDATE_TMP_DIRS="$TMPDIR /tmp /dev/shm /var/tmp /usr/tmp /usr/tmp $HOME"
other_partition_tmpdir=
@@ -45,13 +46,11 @@ done
if test -z "$other_partition_tmpdir"; then
skip_test_ \
-"**************************************
-This test requires a writable directory on a different
-disk partition, and I couldn't find one. I tried these:
+"requires a writable directory on a different disk partition,
+and I couldn't find one. I tried these:
$CANDIDATE_TMP_DIRS
Set your environment variable CANDIDATE_TMP_DIRS to make
-this test use a different list.
-**************************************"
+this test use a different list."
fi
test "$VERBOSE" = yes && set -x