summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
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-08-09Remove use of --seed=S.Jim Meyering
2006-08-08New file, introduced for shuf, sort -R, and/or shred.Paul Eggert
2006-08-08(TESTS): Add shuf.Paul Eggert
2006-07-28Clear setuid and setuid bits on directory, in case the buildPaul Eggert
directory has them set and they're inherited.
2006-07-28Use symbolic mode so that we clearPaul Eggert
setgid bit more reliably on directories.
2006-07-26* tests/ls/stat-failed: Adapt to match new expected output.Jim Meyering
From Paul Eggert.
2006-07-25Use "chmod 0500" rather than "chmod 500".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-25* tests/ls-2/tests (no-a-isdir-b): Update to reflect additionJim Meyering
of "cannot access " to diagnostic.
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-20(file-type): New test:Jim Meyering
For 5.97 and earlier, --file-type acted like --indicator-style=slash.
2006-07-17Regenerate.Paul Eggert
2006-07-17Add a test for the X bug.Paul Eggert
2006-07-17Remove re_protect case that no longer applies.Paul Eggert
GNU chmod now behaves like other versions of chmod.
2006-07-17Do the setgid test instead of bailing.Paul Eggert
2006-07-09(TESTS): Add dir2dir.Jim Meyering
2006-07-09Adjust so failing with ENOTEMPTY is ok, too.Jim Meyering
That happens with Linux/tmpfs.
2006-07-09Regenerate.Paul Eggert
2006-07-08New file, test for 2006-07-05 fix in copy.c.Jim Meyering
2006-07-08* tests/Coreutils.pm: Remove one of two adjacent "then"s in a comment.Jim Meyering
2006-07-03* tests/Makefile.am, tests/*/Makefile.am: (TESTS_ENVIRONMENT):Jim Meyering
Add $VG_PATH_PREFIX as a prefix to $PATH
2006-07-03.Jim Meyering
2006-07-03* tests/envvar-check (vars): Add CDPATH and POSIXLY_CORRECT.Jim Meyering
* tests/Makefile.am (evar-check): Remove rule. (EXTRA_DIST): Remove .env-warn. * tests/.env-warn: Remove file. No longer used. Suggestion from Eric Blake.
2006-07-01(f-pipe-1): Renamed from f-1.Paul Eggert
(test_vector): Set POSIXLY_CORRECT for the f-pipe-* tests.
2006-07-01(neg-2): Adjust to new default format.Paul Eggert
(eq-wid-1, eq-wid-2): Resurrect these tests, since the new implementation should do the right thing.
2006-06-30* tests/stty/basic-1: Work around an intermittent test failureJim Meyering
on HP-UX 11.11. Report and analysis from Bob Proulx. http://article.gmane.org/gmane.comp.gnu.core-utils.bugs/7475
2006-06-28* tests/mv/i-link-no: Work around HP-UX /bin/sh tracing problemJim Meyering
(set -x when VERBOSE=yes) when stderr is redirected before stdout causing shell tracing of the stdout redirection to be written to the stderr file. Avoid problem and test failure on HP-UX by redirecting stderr last. * tests/dd/unblock-sync: Order shell file redirections for stderr and stdout in the common style. tests/acl: Likewise.
2006-06-27* tests/misc/cat-proc: Try to avoid any spurious numericJim Meyering
differences in frequently-changing /proc/cpuinfo. Reported by Nelson Beebe.
2006-06-26* NEWS: rm no longer fails to remove an empty, unreadable directoryJim Meyering
* src/remove.c (remove_cwd_entries): If we can't open a directory, and the failure is not being ignored, try to remove the directory with rmdir (aka unlinkat-with-AT_REMOVEDIR), in case it's empty. Problem report and test case from Paul Eggert in <http://article.gmane.org/gmane.comp.gnu.core-utils.bugs/7425>. * tests/rm/empty-inacc: New test, for the above.
2006-06-25* NEWS: wc accepts a new option --files0-from=FILE, where FILEJim Meyering
contains a list of NUL-separated file names. * src/wc.c: Include "readtokens.h". (usage): Describe the new option, and adjust the `Usage': with this option, no FILE may be specified on the command line. (main): Handle the new option. * tests/misc/wc-files0: New tests, for the above. * tests/misc/wc-files0-from: Likewise. * tests/misc/Makefile.am (TESTS): Add wc-files0.
2006-06-18Fix typo (s/neq/ne/) in previous change.Jim Meyering
2006-06-18make error output a little clearerJim Meyering
2006-06-17* tests/rm/inaccessible: Skip this test on systems without openat support.Jim Meyering
Reported by Bob Proulx.
2006-06-16.Jim Meyering
2006-06-16add these two files (a and b) so that I can remove them -- in the eyes of cvspsJim Meyering
2006-06-16remove the files once and for all, so that tools like cvsps (and even 'cvs ↵Jim Meyering
update') don't think they're still around
2006-06-15Improve permission checks to handlePaul Eggert
running mkdir test in set-gid directories.
2006-06-14tests/du/basic: Revamp not to hard-code file system block sizes.Jim Meyering
2006-06-12tests/du/Makefile.am (TESTS_ENVIRONMENT): Pass $(PERL), for the files0-from ↵Jim Meyering
test.
2006-06-11Setting TIME_STYLE=long-iso in the environment would make theJim Meyering
cp/same-file test fail. * tests/envvar-check (vars): Add TIME_STYLE to the list. * tests/cp/same-file: Revert last change. Source the envvar-check script, to ensure that TIME_STYLE settings don't affect these tests.
2006-06-11* tests/cp/same-file: Execute 'ls' in the C locale, so that itPaul Eggert
uses POSIX time stamp formats. Problem reported by John Nixon in <http://lists.gnu.org/archive/html/bug-coreutils/2006-06/msg00062.html>.
2006-06-08Ensure that cat works with any of the options, -A -v -e -E -T,Jim Meyering
when applied to files in /proc and /sys, even when the FIONREAD ioctl produces nonsensical results. Before this change, cat would produce no output (or truncated output), for some linux kernels. * src/cat.c (write_pending): New function, factored out of cat. (cat): Also interpret a negative ioctl/FIONREAD count as indicating that there are bytes to read. Some versions of linux-2.6.16 do that. Write any pending output before returning. Reported by Dan Jacobson in <http://bugs.debian.org/370583>. * NEWS: Mention this bug fix. * tests/misc/cat-proc: New file. Test for the above. * tests/misc/Makefile.am (TESTS): Add cat-proc.
2006-06-05Rename file to avoid bugs with VPATH builds and Solaris 'make'.Paul Eggert