Wayne Davison
21cddef2b4
Improved the backup code:
...
- Backups do not interfere with an atomic update (when possible).
- Backing up a file will remove a directory that is in the way
and visa versa.
- Unify the backup-dir and non-backup-dir code in backup.c.
- Improved the backup tests a little bit.
2009-01-03 12:02:47 -08:00
Wayne Davison
844810d609
Avoid problems with timestamp rounding that cp -p and touch -r may do.
2008-06-17 15:59:47 -07:00
Wayne Davison
7918f24405
Changed some instances of \" in checkit calls to '.
2007-09-03 20:43:58 +00:00
Wayne Davison
f1271537a4
Put the files down in a subdir so that we test backup's dir-
...
creating functionality (which had a bug until recently).
2007-04-24 19:03:54 +00:00
Wayne Davison
c4a28da3ad
Use --delete-delay instead of --delete-after.
2006-12-08 20:47:09 +00:00
Wayne Davison
fc9d64c947
Several expansions of $srcdir were not double-quoted.
2005-06-10 20:04:42 +00:00
Wayne Davison
cd36049cd1
Combine one of the backup tests with --delete-after.
2005-04-07 09:09:17 +00:00
Wayne Davison
4d8f5b0ae7
- Fixed a problem with the $bakdir value.
...
- Made the files have better contents to copy.
- Also test --backup without --backup-dir.
2004-09-20 19:50:04 +00:00
Wayne Davison
4e8a085ac9
Use $diffopt instead of -u.
2004-09-20 05:17:57 +00:00
Wayne Davison
7d059d4c37
A simple test of the backup functionality.
2004-09-20 04:59:01 +00:00