]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
tests: other-fs-tmpdir: avoid bogus "skipped **********..." diagnostic
authorJim Meyering <meyering@redhat.com>
Sun, 29 Mar 2009 07:59:23 +0000 (09:59 +0200)
committerJim Meyering <meyering@redhat.com>
Sun, 29 Mar 2009 07:59:23 +0000 (09:59 +0200)
* 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.

tests/other-fs-tmpdir

index a56f7b18614bf506b2b01c050621b401ad1ced82..885085736e69302d647bac2be0a24cc1f7e9baa0 100644 (file)
@@ -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