summaryrefslogtreecommitdiff
path: root/testsuite
AgeCommit message (Collapse)AuthorFilesLines
2009-03-06Simplify an "if" in ssh-basic.test. Fixes bug #6169;Wayne Davison1-1/+1
2009-03-03Improved the unsafe_symlink() code to not get fooled by extra '/' charsWayne Davison1-26/+34
in the symlink's path. Added test cases. This fixes bug #6151.
2008-11-09Fixed the use of a dot-dir path (foo/./bar) inside of a files-from file.Wayne Davison1-0/+30
2008-10-14Added another file-list filter to handle odd-ball systems that don'tWayne Davison1-2/+3
seem to size their sprintf() fields correctly.
2008-09-26Fixed skipping of unneeded updates in a batch file when incrementalWayne Davison1-0/+2
recursion is active. Added a test for this. Made batch-mode handle redos properly (and without hanging).
2008-09-03Changed some "rsync" commands into proper "$RSYNC" commands.Wayne Davison1-5/+5
2008-07-24Fixed the --fake-super test in the xattrs testsuite when there areWayne Davison1-0/+4
root-level xattrs on the files (e.g. selinux values).
2008-06-17Avoid problems with timestamp rounding that cp -p and touch -r may do.Wayne Davison7-15/+39
2008-06-12Fix the problem with setting xattrs on a directory that has anWayne Davison1-0/+4
identical match found in a --link-dest/--copy-dest hierarchy.
2008-06-08A couple more xattr improvements:Wayne Davison1-1/+1
- Made the XSTATE_* defines avoid using 0. - Call !XATTR_ABBREV() in recv_xattr_request(). - Improved the "internal abbrev" error message. - Fixed the potential for a directory time glitch in xattrs.diff.
2008-06-08Fixed an "Internal abbrev error" when dealing with an xattr valueWayne Davison1-2/+28
that is unchanged on an early file, and changed on a later file. Added 2 new test cases to ensure this stays fixed.
2008-05-31Improved the daemon testing, including adding a test to ensure thatWayne Davison2-5/+51
daemon excludes can't exclude a dot dir.
2008-05-17Fix some path problems when the build dir is not theWayne Davison3-4/+3
source dir.
2008-05-06Added options to tls.c to allow us to ask for mtime and ownership infoWayne Davison2-2/+2
on symlinks. The testsuite will now pass these options to tls if rsync is configured to affect such attributes on symlinks.
2008-04-18Reorder the filenames to touch to try to avoid a weird error on SolarisWayne Davison1-3/+5
5.8. Also, use lsh in one of the runs in order to try a hard-link run that uses a (pretend) remote shell.
2008-04-18Added a --no-cd option to support/lsh so that the script can be used byWayne Davison2-30/+4
the testsuite. Improved the home-directory-changing code and added an error message when "localhost" is not the hostname specified. Use the updated script in the testsuite instead of creating a pretend-ssh script in a couple spots.
2008-04-11If the daemon test is run as root, use a --config option.Wayne Davison1-1/+10
2008-03-28Extended a test to ensure that hard-linked distant files continuesWayne Davison1-3/+14
to work in incremental-recursion mode.
2008-03-19Some more minor changes for the skip/missing/dry_run code.Wayne Davison1-3/+2
2008-03-19Unsnarl missing_below/dry_run logic.Matt McCutchen1-0/+28
The generator can skip a directory's contents altogether due to --ignore-non-existing, a daemon exclude, or a mkdir failure. On a --dry-run, the generator can also note the missingness of a directory while still scanning its contents. These two scenarios were conflated using a single set of missing_below/missing_dir variables in combination with transient increments in dry_run; this caused at least three bugs. Now recv_generator has separate variables for the two scenarios, called skip_dir and dry_missing_dir, respectively. For simplicity, we take the F_DEPTH instead of having separate *_below variables. We mark both kinds of missing dirs with FLAG_MISSING_DIR. (dry_run > 1) iff the *root* of the destination does not exist; it is no longer incremented for missing subdirs. I added tests for the three fixed bugs in missing.test.
2008-03-15Got rid of some useless uses of the -t option.Wayne Davison1-2/+2
2008-03-10Fixed some itemized logging failures:Wayne Davison2-8/+8
- If a symlink/device/special-file changes its value without any attribute changes, the itemized event no longer gets dropped. - We put a 'c' into the checksum/change field now to indicate when a symlink/device/special-file changes its value without changing its type. This lets us properly interpret the --copy-links output to know which items are getting copied without changes and which are getting created with new content. - Fixed the 'T' itemized output for a symlink when rsync tries to set the right time but fails due to lack of OS/disk support.
2008-03-07Fixed the latest xattrs tests on OS X.Wayne Davison1-4/+4
2008-03-07Restore a long-attribute test that was temporarily disabled.Wayne Davison1-2/+0
2008-03-07Fixed the interaction of --fake-super with --link-dest & --xattrs.Wayne Davison1-3/+14
Fixed the munging of non-user namespace xattrs w/--fake-super. Fixed the sorting of received xattrs when name-munging occurs. Added xattr tests to verify that these things stay fixed.
2008-03-04- Made the itemize test check for CAN_HARDLINK_SYMLINK define insteadWayne Davison2-6/+5
of running its own test using ln. - Made the merge test call checkit with absolute paths so that some folk's cd command won't foul things up with extra output.
2008-03-03Fixing a problem with a NULL config_file pointer when accessingWayne Davison1-0/+21
a single-use daemon without no --config option specified. Added a test to ensure that this doesn't break in the future.
2008-02-27Use variables to hold the constant itemized strings soWayne Davison3-79/+84
that future changes are easier to make.
2008-02-18Fixed the hard-link check again, adding a comment as toWayne Davison1-3/+5
why it is coded the way it is.
2008-02-18Extended the protocol-30 info-passing code at startup, and use it toWayne Davison1-14/+42
tell the client if the server can set the times on a symlink (both the server->client byte and the client->server use of -e). Make use of this info to allow the proper output of the 't' flag when rsync can set the time on a symlink (and we're talking protocol >= 30). Added output of "[no] symtimes" info in the --version message. Fixed the itemize.test so that it works when rsync believes that it can set the time of a symlink, but it can't really do it.
2008-02-09Ignore exit-code 23 when we expect a daemon-excluded file to be excluded.Wayne Davison3-2/+21
2008-01-12Another xattr "internal abbrev" fix for an xattr object that isWayne Davison1-6/+7
shared by multiple files: handle the case where one file has an abbreviated item set correctly, but a following item does not. Also extended testsuite/xattrs.test to verify that this works.
2007-11-27Add a new daemon security option: "munge symlinks".Wayne Davison1-0/+1
2007-09-29Added support for OS X testing using chmod +a and ls.Wayne Davison1-16/+36
2007-09-23Make sure that the dirs we are merging have the same timestamps.Wayne Davison1-0/+2
2007-09-23Added a test to make sure that merging relative items continues toWayne Davison1-6/+25
work right.
2007-09-15Added more local-network IPs to the "hosts allow" rsyncd configWayne Davison1-1/+1
so that the FreeBSD machine in the compile farm can test.
2007-09-08Tweaked the pretend-ssh script.Wayne Davison1-1/+1
2007-09-04Added a test combining -H with -c and a hard-linked file that has onlyWayne Davison1-0/+10
one instance inside the copy hierarchy. (Used to fail with protocol 29 or --no-ir.)
2007-09-03Changed some instances of \" in checkit calls to '.Wayne Davison13-42/+41
2007-09-03Added weeding of "sending incremental file list" line to filter_outfile().Wayne Davison1-0/+1
2007-07-15Let's try using egrep instead of grep since grep on SolarisWayne Davison1-2/+2
systems was failing to work right.
2007-07-14Make sure that --dry-run with --del doesn't output extraneous infoWayne Davison1-1/+13
when the dest directory does not exist.
2007-07-08Added a test for --prune-empty-dirs.Wayne Davison1-5/+9
2007-07-08Got rid of the output differences for protocol 30 since it is nowWayne Davison1-30/+19
the same as earlier protocols.
2007-07-07Make the comment even better.Wayne Davison1-4/+3
2007-07-07Tweaked a comment to remove a (really old) rsync version reference.Wayne Davison1-2/+2
2007-06-02Attempting to make the mask test compatible with Solaris 8.Wayne Davison1-1/+1
2007-05-25Changed verbosity back from -vvvv to -vv.Wayne Davison1-1/+1
2007-05-22Be more verbose so that we can debug what is going wrong on solaris.Wayne Davison1-1/+1