summaryrefslogtreecommitdiff
path: root/tests/ls
AgeCommit message (Collapse)Author
2006-08-26This test was failing in some environments.Jim Meyering
* tests/ls/color-dtype-dir: Don't rely on eval "`dircolors -b`" to set LS_COLORS in the environment. * tests/envvar-check: Instead, ensure that LS_COLORS is not set. Reported by Bob Proulx.
2006-08-26"ls --color" would highlight other-writable and sticky directoriesJim Meyering
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.
2006-08-22* aclocal.m4, config.hin, configure:Paul Eggert
Remove from CVS, since ./bootstrap generates them automatically. * .cvsignore: Add INSTALL, Makefile.in, *.cache, *.lineno, *.log. Remove more-specific entries. This catches files like configure.lineno. * man/.cvsignore: Add Makefile.in. * src/.cvsignore: Add Makefile.in. Remove .version, dir.c, install, mvdir, stamp-v, vdir.c, version.c. For .cvsignore file under the tests directory: Add Makefile.in. Sort entries if necessary. Remove *.I, *.E, *.X, *.O, *-tests, build-script, mk-script if they're never created in this directory. * build-aux/.cvsignore: New file. * doc/.cvsignore: Add Makefile.in, coreutils.html, coreutils.pdf, coreutils.ps, coreutils.tps. Remove coreutils.cm (dunno what it is, but the makefile doesn't mention it). Remove coreutils.info as it is subsumed by coreutils.info*. * lib/.cvsignore: Add Makefile.in, getdate.tab.h. Remove stat.c, sysexit.h. * m4/.cvsignore: Remove Makefile, dev-ino.m4, glibc2.m4, intdiv0.m4, inttypes-h.m4, inttypes-pri.m4, jm-glibc-io.m4, lcmessage.m4, lock.m4, printf-posix.m4, same-inode.m4, size_max.m4, uintmax_t.m4, ulonglong.m4, visibility.m4, xsize.m4. Many of these are put in automatically by ../bootstrap, but that's a bootstrap bug that I plan to fix shortly. * po/.cvsignore: More ../bootstrap-related fixes, plus remove old cruft. Add *.po, LINGUAS, Makevars. Remove *.cat, *.msg, cat-id-dbl.c, messages.mo, stamp-cat-id.
2006-08-21Remove from CVS, since the bootstrap script generates them automatically.Paul Eggert
2006-08-19.Jim Meyering
2006-08-19* tests/ls/stat-dtype: Test for the 2006-08-17 `ls -CF' fix.Jim Meyering
2006-08-17Add/fix copyright notices and adjust to latest GNU FDL.Paul Eggert
2006-08-16* tests/ls/stat-dtype: Use stat to test file system type, ratherJim Meyering
than df -T, in case /etc/mtab lies. Reported by Michael Stone.
2006-08-15.Jim Meyering
2006-08-11* tests/ls/stat-vs-dirent: Too many (losing) systems trigger theJim Meyering
failure that this test checks for (stat/dirent inode mismatch at a mount point), so continue to give a diagnostic about the failure, but don't actually count it as a failure.
2006-08-10* tests/ls/stat-dtype: If "." is tmpfs, skip this test unless uname -sJim Meyering
reports "Linux". This avoids a failure on Solaris 10's tmpfs. Redirect both stdout and stderr of df invocations.
2006-08-10add a commentJim Meyering
2006-08-09Regenerate.Paul Eggert
2006-08-09Regenerate.Paul Eggert
2006-07-26* tests/ls/stat-failed: Adapt to match new expected output.Jim Meyering
From Paul Eggert.
2006-07-25* src/ls.c (gobble_file): When handling a stat-failed entry,Jim Meyering
print the entry name not the absolute_name -- to be consistent with the usual case. * tests/ls/stat-failed: Update accordingly.
2006-07-25Get --dired offsets right when handling stat-failed entries.Jim Meyering
* src/ls.c (print_long_format): Be careful to increment P by the appropriate amount, even when inode_number_width and nlink_width are zero. * tests/ls/stat-failed: Test for the above.
2006-07-25* src/ls.c (gobble_file): Make it so failure to stat aJim Meyering
non-command-line file provokes an exit status of 1, not 0. Say "cannot access" rather than "cannot stat". * tests/ls/stat-failed: New file/test, for the above. * tests/ls/Makefile.am (TESTS): Add stat-failed.
2006-07-24Skip this test on reiserfs, since that file system lacks d_type support.Jim Meyering
2006-07-21Fix another bug: ls --indicator-style=file-type would callJim Meyering
stat for a symlink, even though it wasn't always needed. In some cases, that unnecessary stat would cause ls to fail. * src/ls.c (gobble_file): Don't treat symlinks specially (in requiring a stat syscall). Remove the offending exclusion. * NEWS: Mention the fix. * tests/ls/stat-dtype: New file/test, for the above fix. Also exercises the new df feature, below.
2006-07-17Regenerate.Paul Eggert
2006-07-09Regenerate.Paul Eggert
2006-07-03* tests/Makefile.am, tests/*/Makefile.am: (TESTS_ENVIRONMENT):Jim Meyering
Add $VG_PATH_PREFIX as a prefix to $PATH
2006-05-06.Jim Meyering
2006-05-06Expand to test broken links encounteredJim Meyering
implicitly, favoring Solaris 9 and OpenBSD 3.4 behavior.
2006-05-06Expand to test inode from readdir case.Jim Meyering
2006-05-06(TESTS): Add stat-vs-dirent.Jim Meyering
2006-05-06*** empty log message ***Jim Meyering
2006-03-26.Jim Meyering
2006-03-12.Jim Meyering
2006-02-20.Jim Meyering
2006-01-12.Jim Meyering
2006-01-04.Jim Meyering
2005-12-21.Jim Meyering
2005-12-17.Jim Meyering
2005-12-15.Jim Meyering
2005-12-03.Jim Meyering
2005-11-22.Jim Meyering
2005-10-23.Jim Meyering
2005-09-23.Jim Meyering
2005-09-22.Jim Meyering
2005-09-22Regenerate.Paul Eggert
2005-09-16Regenerate.Paul Eggert
2005-09-10.Jim Meyering
2005-09-09Regenerate.Paul Eggert
2005-09-04.Jim Meyering
2005-08-02.Jim Meyering
2005-07-12.Jim Meyering
2005-07-08Regenerate.Paul Eggert
2005-07-07.Jim Meyering