summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2006-08-17Add/fix copyright notices and adjust to latest GNU FDL.Paul Eggert
2006-08-16* tests/chmod/setgid (abs_srcdir): Remove; not used or needed.Paul Eggert
Skip this test if "chmod g+s d" silently does nothing.
2006-08-16* tests/cp/Makefile.am: Don't mark "acl" as XFAIL.Jim Meyering
* tests/cp/acl: Instead, skip the test if either setfacl or getfacl fails.
2006-08-16Skip this test suite if we can't set up filesPaul Eggert
properly for the setuid-etc test.
2006-08-16* tests/lang-default (LC_ALL): Set to "C", so we getPaul Eggert
English-language diagnostics. Unset the other variables.
2006-08-162006-08-16 Andreas Schwab <schwab@suse.de>Jim Meyering
* tests/cp/acl: Don't use non-portable == operator for test.
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* NEWS: Mention that df exits with nonzero status if it generatesPaul Eggert
no output. This change was in 6.0 but inadvertently unmentioned. * doc/coreutils.texi (df invocation): df exits nonzero if it outpus nothing. * src/df.c (file_systems_processed): Renamed from n_valid_args, and now a boolean. (show_dev): Don't set it until we actually output something. Print the header if this is the first output. (main): Don't print a header, as that is now show_dev's job. * tests/misc/Makefile.am (TESTS): Add df. * tests/misc/df: New file.
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-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.