1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-06-01 15:26:29 +02:00
Commit Graph

321 Commits

Author SHA1 Message Date
Paul Eggert 218fa5c61b Add/fix copyright notices and adjust to latest GNU FDL. 2006-08-17 19:58:17 +00:00
Jim Meyering 481113d551 * tests/ls/stat-dtype: Use stat to test file system type, rather
than df -T, in case /etc/mtab lies.  Reported by Michael Stone.
2006-08-16 09:44:55 +00:00
Jim Meyering e5b0d0aa85 . 2006-08-15 12:05:34 +00:00
Jim Meyering 9236b6befc * tests/ls/stat-vs-dirent: Too many (losing) systems trigger the
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-11 08:40:11 +00:00
Jim Meyering db7ffe5582 * tests/ls/stat-dtype: If "." is tmpfs, skip this test unless uname -s
reports "Linux".  This avoids a failure on Solaris 10's tmpfs.
Redirect both stdout and stderr of df invocations.
2006-08-10 09:22:33 +00:00
Jim Meyering 407ff38d94 add a comment 2006-08-10 08:25:03 +00:00
Paul Eggert ade68b234a Regenerate. 2006-08-09 23:46:10 +00:00
Paul Eggert acaeed035b Regenerate. 2006-08-09 20:24:38 +00:00
Jim Meyering 2f418ef97d * tests/ls/stat-failed: Adapt to match new expected output.
From Paul Eggert.
2006-07-26 14:35:19 +00:00
Jim Meyering 0b34021d6d * src/ls.c (gobble_file): When handling a stat-failed entry,
print the entry name not the absolute_name -- to be consistent
with the usual case.
* tests/ls/stat-failed: Update accordingly.
2006-07-25 16:35:59 +00:00
Jim Meyering c04a374bb0 Get --dired offsets right when handling stat-failed entries.
* 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 15:30:27 +00:00
Jim Meyering 3a208b1404 * src/ls.c (gobble_file): Make it so failure to stat a
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-25 15:23:59 +00:00
Jim Meyering f2641bb9f7 Skip this test on reiserfs, since that file system lacks d_type support. 2006-07-24 14:02:35 +00:00
Jim Meyering 9e0a095be6 Fix another bug: ls --indicator-style=file-type would call
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-21 08:49:24 +00:00
Paul Eggert a58ac00556 Regenerate. 2006-07-17 03:52:18 +00:00
Paul Eggert 914c8674a5 Regenerate. 2006-07-09 17:20:26 +00:00
Jim Meyering ae87c86b4a * tests/Makefile.am, tests/*/Makefile.am: (TESTS_ENVIRONMENT):
Add $VG_PATH_PREFIX as a prefix to $PATH
2006-07-03 12:55:25 +00:00
Jim Meyering 9980147451 . 2006-05-06 15:52:56 +00:00
Jim Meyering cc86eaf147 Expand to test broken links encountered
implicitly, favoring Solaris 9 and OpenBSD 3.4 behavior.
2006-05-06 15:44:19 +00:00
Jim Meyering b68ddecba7 Expand to test inode from readdir case. 2006-05-06 15:44:01 +00:00
Jim Meyering 1cf31b9cb6 (TESTS): Add stat-vs-dirent. 2006-05-06 15:29:44 +00:00
Jim Meyering 8840dfb071 *** empty log message *** 2006-05-06 15:27:38 +00:00
Jim Meyering a35fc49153 . 2006-03-26 12:33:28 +00:00
Jim Meyering de33c6c49d . 2006-03-12 22:47:35 +00:00
Jim Meyering 3f7e0c2173 . 2006-02-20 13:00:54 +00:00
Jim Meyering 7dabfc7e73 . 2006-01-12 08:40:34 +00:00
Jim Meyering 084903a2b1 . 2006-01-04 21:06:39 +00:00
Jim Meyering 1e1938032b . 2005-12-21 10:23:51 +00:00
Jim Meyering c99e1d2cb6 . 2005-12-17 10:48:30 +00:00
Jim Meyering 049a807bc6 . 2005-12-15 14:47:36 +00:00
Jim Meyering b3e300393e . 2005-12-03 23:19:58 +00:00
Jim Meyering 66878248f6 . 2005-11-22 15:33:39 +00:00
Jim Meyering 708c4e6682 . 2005-10-23 16:00:59 +00:00
Jim Meyering a40376f4c5 . 2005-09-23 20:14:20 +00:00
Jim Meyering fc6f1f7f9c . 2005-09-22 09:47:36 +00:00
Paul Eggert 9bbbf30543 Regenerate. 2005-09-22 07:07:36 +00:00
Paul Eggert 96971b59be Regenerate. 2005-09-16 07:58:03 +00:00
Jim Meyering aadcf5b2e4 . 2005-09-10 14:16:53 +00:00
Paul Eggert 97f9677790 Regenerate. 2005-09-09 21:21:16 +00:00
Jim Meyering bbd6e2ef20 . 2005-09-04 20:08:25 +00:00
Jim Meyering 0508157932 . 2005-08-02 21:15:19 +00:00
Jim Meyering 95550da8d3 . 2005-07-12 16:44:52 +00:00
Paul Eggert 060594db56 Regenerate. 2005-07-08 00:35:04 +00:00
Jim Meyering 52c7a92b85 . 2005-07-07 17:59:05 +00:00
Jim Meyering 85ddb64559 . 2005-07-03 11:58:11 +00:00
Paul Eggert de0cf8356f Regenerate. 2005-07-03 07:28:38 +00:00
Jim Meyering 42f845ebc7 . 2005-07-02 14:33:56 +00:00
Jim Meyering c44874f722 . 2005-06-30 20:32:46 +00:00
Jim Meyering 7f7acc20fd . 2005-06-27 08:50:22 +00:00
Jim Meyering 7cb0b72a2c . 2005-06-20 07:13:36 +00:00