summaryrefslogtreecommitdiff
path: root/tests/mv/backup-is-src
AgeCommit message (Collapse)Author
2006-10-25new feature: rm accepts new option: --one-file-systemJim Meyering
Suggested by Steve McIntyre in <http://bugs.debian.org/392925>. * src/remove.h (struct rm_options) [one_file_system]: New member. * src/rm.c (rm_option_init): Initialize it. (usage): Document the option. * src/mv.c (rm_option_init): Likewise. * src/remove.c (remove_dir): With --one-file-system and --recursive, for each directory command line argument, do not affect a file system different from that of the starting directory. And give a diagnostic. * src/rm.c (ONE_FILE_SYSTEM): New enum. (main): Handle new option. * tests/rm/one-file-system: Test the above. * tests/rm/Makefile.am (TESTS): Add one-file-system. * tests/Makefile.am (check-root): Add the rm/one-file-system test to the list. (EXTRA_DIST): Add other-fs-tmpdir. * tests/mv/setup: Removed. Renamed to... * tests/other-fs-tmpdir: ...this new file. * tests/mv/Makefile.am (EXTRA_DIST): Remove setup. * tests/mv/acl: Reflect renaming: use ../other-fs-tmpdir. * tests/mv/backup-is-src: Likewise. * tests/mv/hard-link-1: Likewise. * tests/mv/leak-fd: Likewise. * tests/mv/mv-special-1: Likewise. * tests/mv/part-fail: Likewise. * tests/mv/part-hardlink: Likewise. * tests/mv/part-rename: Likewise. * tests/mv/part-symlink: Likewise. * tests/mv/partition-perm: Likewise. * tests/mv/to-symlink: Likewise. * tests/mv/into-self-2: Likewise. [doc/ChangeLog] * coreutils.texi (rm invocation): Describe --one-file-system.
2006-08-17Add/fix copyright notices and adjust to latest GNU FDL.Paul Eggert
2004-01-20Run envvar-check in case SIMPLE_BACKUP_SUFFIX is set.Jim Meyering
2000-10-22Source lang-default rather than open-codingJim Meyering
the setting/exporting of LANG, LC_ALL, and LANGUAGE.
1999-11-27Don't set/use RM and MV.Jim Meyering
1999-10-17Remove use of mv's now-deprecatedJim Meyering
-V option. Use --b=simple instead of -b -V simple.
1998-08-15Avoid bug in Ultrix4.3a /bin/sh,Jim Meyering
not initializing output redirection of : command.
1998-07-04Use cmp, not diff.Jim Meyering
Reported by Kaveh Ghazi.
1998-05-20*** empty log message ***Jim Meyering
1998-05-18Remove $other_partition_tmpdirJim Meyering
1998-05-11*** empty log message ***Jim Meyering
1998-05-11.Jim Meyering