Wayne Davison
503f163446
Decided against shortening the output of --itemize-changes.
2006-02-09 01:17:01 +00:00
Wayne Davison
b31243b472
Test directory setgid inheritence when --perms is not in effect.
2006-02-04 19:42:47 +00:00
Wayne Davison
c8d19f90a6
Added a missing '(' in the opening comments.
2006-02-04 19:29:13 +00:00
Wayne Davison
114bafe0d0
Added a special permission (o+t) to one of the files in the test.
2006-02-04 19:28:45 +00:00
Wayne Davison
5ef8c5c6d4
Tweaked a function declaraion.
2006-02-04 19:27:07 +00:00
Wayne Davison
8a3d4658eb
Decided I don't like "set -x".
2006-02-03 17:58:48 +00:00
Wayne Davison
6b43924848
The calls to check_perms now pass a test number arg and
...
don't check for failure (it will die on failure).
2006-02-03 17:55:24 +00:00
Wayne Davison
eace352b39
Improved check_perms() to work with a directory, to have better
...
output on error, and to call test_fail on error.
2006-02-03 17:54:18 +00:00
Wayne Davison
fdbe8989fe
Moved check_perms() into rsync.fns and tweaked how it is called.
2006-02-03 17:29:43 +00:00
Wayne Davison
18d7e9f46e
Added a new function: check_perms().
2006-02-03 17:28:03 +00:00
Wayne Davison
c6fbd563d8
Matt's executability test with a few tweaks (e.g. to avoid using
...
"stat").
2006-02-03 06:47:26 +00:00
Wayne Davison
b33ce4c800
Moved the filter_outfile() function to rsync.fns.
2006-01-30 08:12:17 +00:00
Wayne Davison
757287d8a5
Moved the filter_outfile() function here since it was identical
...
in devices.test and itemize.test.
2006-01-30 08:11:50 +00:00
Wayne Davison
2b7dab686c
The setting of HOME got moved to rsync.fns.
2006-01-26 21:23:25 +00:00
Wayne Davison
a98cad00eb
Set $HOME to $scratchdir so that our tests are not affected by
...
anything unexpected, such as a ~/.popt file.
2006-01-26 21:22:57 +00:00
Wayne Davison
e5f6a04d15
The itemized output for the fifo changed.
2006-01-26 10:39:04 +00:00
Wayne Davison
9ac3591366
Added testing of the --itemize-changes output for devices.
2006-01-24 22:23:51 +00:00
Wayne Davison
6a819e02da
Changed to handle removed 'a' slot in %i output.
2006-01-24 22:23:14 +00:00
Wayne Davison
90d5b12e72
Added a test for the new "dir/***" feature.
2006-01-02 17:46:27 +00:00
Wayne Davison
955a3a3ded
We now test all the patterns using both a normal wildtest run and
...
a wildtest run with various -x and -e options.
2006-01-02 17:46:24 +00:00
Wayne Davison
0314302e9c
Added an anchored exclude to a filter file.
2005-12-19 02:23:57 +00:00
Wayne Davison
165dd4a636
Improved the tests we run to test more output variations and to work
...
with the new way link-dest handles symlinks.
2005-12-15 23:00:05 +00:00
Wayne Davison
45d41d08bd
Test the --chmod option.
2005-11-07 04:28:52 +00:00
Wayne Davison
8f5b554f0b
Hard-link a device in order to test that this works properly.
2005-07-31 23:20:12 +00:00
Wayne Davison
309a5be873
Fixed test to work when objdir != srcdir (thanks to Art Haas).
2005-06-24 02:14:12 +00:00
Wayne Davison
8af1bc9011
- Added a comment to the filter_outfile function.
...
- Twiddled where the calls to filter_outfile happen.
2005-06-10 23:36:57 +00:00
Wayne Davison
6a12f0d619
Simplified the regular expressions for sed due to problems on some
...
OSes.
2005-06-10 21:56:52 +00:00
Wayne Davison
4f3be36e30
- Put the output we're expecting into an rsync.chk file, for easier
...
debugging on failures.
- Added the function filter_outfile() and used it in place of the
various output-filtering commands.
- Use the sed rules for filtering the combination of --itemized
output with double-verbose output so that we're sure there's no
superfluous lines being output (which the old grep filtering
would have ignored).
2005-06-10 20:33:57 +00:00
Wayne Davison
fc9d64c947
Several expansions of $srcdir were not double-quoted.
2005-06-10 20:04:42 +00:00
Wayne Davison
db10766ab2
One expansion of $srcdir wasn't double-quoted.
2005-06-10 20:04:11 +00:00
Wayne Davison
a3dcb79085
One more instance of the umask kluge was needed.
2005-06-10 18:02:14 +00:00
Wayne Davison
87a57a3072
Use umask kluge from rsync.fns to try to get rid of a potential
...
permissions difference when copying symlinks.
2005-06-10 17:51:33 +00:00
Wayne Davison
bad1fa4476
Make the sed commands compatible with Solaris (hopefully).
2005-06-10 17:21:52 +00:00
Wayne Davison
e73ad2be54
Got rid of some potentially unhandled permissions differences.
2005-06-10 17:06:43 +00:00
Wayne Davison
5794112ad0
Test that our outputting of itemized messages (as well as
...
double-verbose output) is happening correctly.
2005-06-09 22:27:59 +00:00
Wayne Davison
5d24ee71ad
Test for various past problems with --relative.
2005-05-27 18:09:34 +00:00
Wayne Davison
de8252f67f
Added a new test to check how we interact with --link-dest and
...
--copy-dest.
2005-04-26 16:25:01 +00:00
Wayne Davison
ee887d98f6
Two more tests:
...
- Update the hard-linked cluster and copy over the old versions.
- Add a new hard-linked item down in a new subdir to make sure that
the new file doesn't get handled before the subdir gets created.
2005-04-23 18:20:47 +00:00
Wayne Davison
5c7b1feb4c
Added --no-whole-file option to one of the runs.
2005-04-23 18:17:25 +00:00
Wayne Davison
2e42adb302
Simplified the newly added test so that it should stop sporadically
...
failing.
2005-04-16 07:34:49 +00:00
Wayne Davison
c09ebb8c04
Call rsync via $RSYNC.
2005-04-15 17:39:35 +00:00
Wayne Davison
042dc7360e
Make sure that the $chkdir has the same mtime/etc. as the
...
$fromdir.
2005-04-15 17:26:27 +00:00
Wayne Davison
7a6e294f7b
Added a test that copies a single file with -H specified.
2005-04-15 08:28:02 +00:00
Wayne Davison
cd36049cd1
Combine one of the backup tests with --delete-after.
2005-04-07 09:09:17 +00:00
Wayne Davison
822012eea9
List /etc instead of /, but only if it exists and is readable.
2005-03-23 16:04:17 +00:00
Wayne Davison
bb21ecac5b
Mention when we run fakeroot.
2005-03-18 02:10:34 +00:00
Wayne Davison
648859bda2
If we're not root and the "fakeroot" command is available, use it
...
to re-run the script while pretending to be root.
2005-03-18 02:07:25 +00:00
Wayne Davison
f3ebe1a77e
A simple test to ensure that fuzzy processing is working.
2005-03-14 22:17:25 +00:00
Wayne Davison
566a874141
Re-enabled the --copy-dest part of the test.
2005-03-11 17:36:05 +00:00
Wayne Davison
2cfe44eee4
Turned on -i for itemized output.
2005-03-05 00:23:55 +00:00