mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-04-18 09:46:33 +02:00
* tests/ls/stat-dtype: Don't use tmpfs on linux-2.4 or older,
since that predated addition of d_type support.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2006-09-24 Jim Meyering <jim@meyering.net>
|
||||
|
||||
* tests/ls/stat-dtype: Don't use tmpfs on linux-2.4 or older,
|
||||
since that predated addition of d_type support.
|
||||
|
||||
2006-09-23 Jim Meyering <jim@meyering.net>
|
||||
|
||||
* gl/modules/getloadavg.diff: New file. Work around the way the latest
|
||||
|
||||
@@ -37,7 +37,18 @@ fi
|
||||
# Also, tmpfs on Solaris 10 lacks d_type support.
|
||||
skip=yes
|
||||
fs_type=`stat -f --printf %T .`
|
||||
test `uname -s` = Linux && test $fs_type = tmpfs && skip=no
|
||||
|
||||
linux_2_6_or_newer=0
|
||||
case `uname -r` in
|
||||
[01].*) ;;
|
||||
2.[0-5]*) ;;
|
||||
*) linux_2_6_or_newer=1 ;;
|
||||
esac
|
||||
|
||||
test `uname -s` = Linux \
|
||||
&& test $linux_2_6_or_newer = 1 \
|
||||
&& test $fs_type = tmpfs \
|
||||
&& skip=no
|
||||
test $fs_type = ext2/ext3 && skip=no
|
||||
test $skip = yes &&
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user