From d99c479311a006391485e1c0e351715d2bd279b7 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 29 Mar 2009 09:59:23 +0200 Subject: 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. --- tests/other-fs-tmpdir | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'tests') 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 . 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 -- cgit v1.2.3-70-g09d2