summaryrefslogtreecommitdiff
path: root/tests/mv
AgeCommit message (Collapse)Author
2006-09-24* tests/mv/hard-verbose: New file. Test for the above fix.Jim Meyering
* tests/mv/Makefile.am (TESTS): Add hard-verbose.
2006-09-20* NEWS: Document fix for cp -i and mv -i.Paul Eggert
* src/copy.c (copy_internal): With -i, prompt even if the source is a directory and the destination is not. This is required by POSIX and gives the user a chance to bail out before failing. * tests/cp/Makefile.am (TESTS): Add cp-i. * tests/cp/cp-i: New file. * tests/mv/Makefile.am (TESTS): Add i-5. * tests/mv/i-5: New file.
2006-09-12* tests/mv/atomic: Check for specific strace output, rather thanJim Meyering
simply nonempty. RHEL AS 4 would fail this test due to strace generating "[ Process PID=14434 runs in 32 bit mode. ]". Reported by Nelson Beebe.
2006-09-08mv and "cp -r" no longer fail when invoked with two argumentsJim Meyering
where the first one names a directory and the second name ends in a slash and doesn't exist. E.g., "mv dir B/", for nonexistent B, now succeeds, once more. This reverts part of the 2004-06-27 change for 5.3.0. * NEWS: Say the above. * src/mv.c (target_directory_operand): Don't require (here) that the target operand "look like" a directory. This change pushes the test down to the rename syscall level, where a "mv dir existing-non-dir/" will mistakenly succeed on older systems that ignore trailing slashes in the rename destination argument. * src/cp.c (target_directory_operand): Likewise, but for cp. * tests/mv/trailing-slash: Exercise the above fixes. * tests/cp/trailing-slash: New file. * tests/cp/Makefile.am (EXTRA_DIST): Add trailing-slash.
2006-08-26* tests/mv/Makefile.am (TESTS): Add backup-dir.Jim Meyering
2006-08-26Fix "mv --verbose --backup" so its output includes theJim Meyering
" (backup: foo.~1~)" suffix also when backing up a directory. * NEWS: Report this bug fix. * src/copy.c (emit_verbose): New function, factored out of... (copy_internal): ...here. Use the new function. * tests/mv/backup-dir: Test for the above fix.
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-17Add/fix copyright notices and adjust to latest GNU FDL.Paul Eggert
2006-08-15.Jim Meyering
2006-08-09Regenerate.Paul Eggert
2006-08-09Regenerate.Paul Eggert
2006-07-17Regenerate.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-03* tests/Makefile.am, tests/*/Makefile.am: (TESTS_ENVIRONMENT):Jim Meyering
Add $VG_PATH_PREFIX as a prefix to $PATH
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-05-13Test two more cases.Jim Meyering
2006-05-11.Jim Meyering
2006-05-11*** empty log message ***Jim Meyering
2006-05-11(TESTS): Add no-target-dir.Jim Meyering
2006-05-11ensure that mv did what it's supposed toJim Meyering
2006-05-11.Jim Meyering
2006-05-11(TESTS): Add atomic.Jim Meyering
2006-05-11New file/test for yesterday's fix.Jim Meyering
2006-05-06.Jim Meyering
2006-05-06Work even on case-insensitive file system.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-07exit-77 before the trap, not after, if we failJim Meyering
to create a temporary directory on another partition.
2005-12-03.Jim Meyering
2005-11-22.Jim Meyering
2005-11-17s/filesystem/file system/Jim Meyering
2005-11-17.Jim Meyering
2005-11-17Let traps handle removing temporary directories.Jim Meyering
2005-11-17(XFAIL_TESTS): Add acl.Jim Meyering
2005-11-17(TESTS): Add acl.Jim Meyering
2005-11-17New tests, from Andreas Gruenbacher.Jim Meyering
2005-10-23.Jim Meyering
2005-09-23.Jim Meyering
2005-09-22.Jim Meyering