mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-03-11 07:24:18 +02:00
no differently than regular directories on a file system with dirent.d_type support. * NEWS: Say the above. * src/ls.c (gobble_file): With --color, also stat the file when we know it is a directory. Derived from an anonymous one-line fix and bug report: <https://savannah.gnu.org/bugs/?15043>. * tests/ls/color-dtype-dir: New file. Test for the above fix. * tests/ls/Makefile.am (TESTS): Add color-dtype-dir.
37 lines
1.2 KiB
Makefile
37 lines
1.2 KiB
Makefile
# Make coreutils tests for "ls". -*-Makefile-*-
|
|
|
|
# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2006 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
|
|
# the Free Software Foundation; either version 2 of the License, or
|
|
# (at your option) any later version.
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU General Public License for more details.
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with this program; if not, write to the Free Software
|
|
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
|
# 02110-1301, USA.
|
|
|
|
AUTOMAKE_OPTIONS = 1.2 gnits
|
|
|
|
TESTS = \
|
|
color-dtype-dir \
|
|
stat-failed \
|
|
stat-dtype \
|
|
inode dangle file-type recursive dired infloop \
|
|
rt-1 time-1 symlink-slash follow-slink no-arg m-option \
|
|
stat-vs-dirent
|
|
|
|
EXTRA_DIST = $(TESTS)
|
|
TESTS_ENVIRONMENT = \
|
|
top_srcdir=$(top_srcdir) \
|
|
srcdir=$(srcdir) \
|
|
PATH="$(VG_PATH_PREFIX)`pwd`/../../src$(PATH_SEPARATOR)$$PATH" \
|
|
PROG=ls
|