diff options
author | Jim Meyering <meyering@redhat.com> | 2009-03-29 09:59:23 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2009-03-29 09:59:23 +0200 |
commit | d99c479311a006391485e1c0e351715d2bd279b7 (patch) | |
tree | e1ec80d4b48f866a1b99474304d9996ea7f3024c /tests | |
parent | 9f39fa8559a8f87e1199f11f6cee295ac8cf6781 (diff) | |
download | coreutils-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')
-rw-r--r-- | tests/other-fs-tmpdir | 13 |
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 |