summaryrefslogtreecommitdiff
path: root/testsuite
AgeCommit message (Collapse)AuthorFilesLines
2003-07-06Added match for new "no errors" line from wildtest.Wayne Davison1-0/+1
2003-07-05We now figure out if diff accepts -u and we'll use it instead of -c,Wayne Davison3-6/+10
if possible.
2003-07-05Changed "diff -u" back to "diff -c" (for portability).Wayne Davison3-4/+4
2003-07-05Test the new wildmatch() routine using the wildtest executable.Wayne Davison1-0/+18
2003-07-04Changed "diff -c" to "diff -u".Wayne Davison2-3/+3
2003-05-01Changed the expected results to match the new bug-fixed behavior.Wayne Davison1-5/+2
2003-04-23Changed one part of the exclude-test setup to test the --existingWayne Davison1-6/+6
option. Also tweaked a few comment lines.
2003-04-22Test various exclude/include patterns.Wayne Davison1-0/+78
2003-04-22Changed test_xfail to test_fail.Wayne Davison1-3/+2
2003-04-22Fixed a problem with the test code and enabled it (since rsync'sWayne Davison1-3/+1
duplicate-elimination code is now fixed).
2003-02-19Apply patch from Steve Bonds to repair this test.Paul Green1-0/+13
2003-01-28Change the default of --modify-window back to 0 on Cygwin.David Dykstra1-4/+0
2003-01-27Move the sleep to workaround the default modify-window of 1 on Cygwin toDavid Dykstra1-4/+4
the beginning of "checkit" rather than the end of "hands_setup" because sometimes files are modified just before checkit is called and the copy finishes within one second so they're considered to be the same time. I don't think this would be a problem in real life, so just change the test.
2003-01-26Tests that use hands_setup to make a test file directory and rightDavid Dykstra1-0/+4
afterward make a copy were failing on cygwin because the default --modify-windows now 1 on Cygwin. Adding a 2 second sleep at the end of hands_setup so that hopefully the tests will succeed because the copy will be made more than 1 second away from the original.
2003-01-25Don't try to run daemon tests as "nobody".Wayne Davison1-9/+2
2003-01-25Getting rid of recent "chown" since we decided to forego trying to runWayne Davison1-7/+0
the daemon tests as "nobody".
2003-01-21Moved the chown from the download test to the upload test.Wayne Davison1-7/+0
2003-01-21Chown the $TO and $FROM directories to $RSYNCD_UID:$RSYNCD_GID (if weWayne Davison1-0/+7
can, and don't fail if we can't).
2003-01-21Chown the $TO and $FROM directories to $RSYNCD_UID:$RSYNCD_GID (if weWayne Davison1-0/+7
can, and don't fail if we can't).
2003-01-21Put the UID and GID that rsyncd will run as into variables.Wayne Davison1-5/+9
2003-01-20Add unsafe-byname tests with symlink destinations ending in '..'.David Dykstra1-5/+10
2003-01-15Fix bug in --copy-unsafe that made it totally broken, and re-enableDavid Dykstra2-17/+0
the tests that tested it. As far as I can tell, it was always broken since the day I put it in years ago. In my investigation into this I was unable to figure out what in the world I was thinking back then, to introduce a global variable with the wrong information in it rather than using a parameter that was already available in readlink_stat function. That still bothers me a bit but I decided to stop worrying about it.
2003-01-11Yet another try at getting this to skip on cygwin.Wayne Davison1-2/+2
2003-01-11Hopefully this version will skip correctly on cygwin.Wayne Davison1-5/+4
2003-01-11Try a different tact to get cygwin to skip this test.Wayne Davison1-1/+2
2003-01-10The call to test_skipped if makepath failed didn't work, presumably becauseDavid Dykstra1-1/+3
makepath is builtin and there's some problem with it causing /bin/sh to exit on cygwin. Parens around the call to makepath should help.
2003-01-10Skip the longdir test if the long directory can't even be created, such asDavid Dykstra2-2/+2
on cygwin (maybe only on certain filesystems?).
2002-12-24Change all relevant occurrences of ``rsync'' and ``$rsync_bin'' to theJos Backus9-16/+16
canonical form ``$RSYNC'' (set in testsuite/rsync.fns). This prevents any stray rsync binaries in the user's PATH from being picked up by the test scripts and ensures that the newly built rsync binary is used always.
2002-11-05Fix the chgrp and hardlinks tests by running $RSYNC instead of relying on theJos Backus2-2/+2
new rsync being in $PATH; it may pick up an old version, invalidating the result of the tests. This is what the other tests do already. Submitted by: Joel Shprentz <ShprentzJ@nima.mil>
2002-04-09DocMartin Pool1-3/+10
Try symlinks with an empty target
2002-04-08correct behaviour is unclearMartin Pool2-0/+9
2002-04-08CleanupMartin Pool1-5/+5
2002-04-08Add more test cases.Martin Pool1-2/+4
Turn off -x.
2002-04-08Add more test cases.Martin Pool1-2/+24
2002-04-08A test suite that calls unsafe_symlink() directly to see how itMartin Pool1-0/+20
handles different strings.
2002-04-05Test more permutations.Martin Pool1-12/+25
2002-04-05Fix filenames.Martin Pool1-3/+3
2002-04-05Get rid of testlink after use.Martin Pool1-0/+2
2002-04-05Test case for --copy-unsafe-links, contributed by Vladimír Michl,Martin Pool1-0/+58
converted to the test suite. Thankyou! It fails at the moment; I don't know if that's a test bug or an rsync bug.
2002-03-26Shell scripts should explicitly "exit 0" for portability. Thanks Jos.Martin Pool1-0/+2
2002-03-26Fix suggested by Jos for hands.test. Some of the functionalityMartin Pool2-28/+2
previously built into Phil's test was clashing with the runtests.sh framework. I think one of the core problems might be that scripts which don't explicitly "exit 0" have return codes which vary depending on the particular shell. (c.f. the autoconf portability guide.) This might break the Debian test suite but I'm afraid I don't know enough about how it works yet. Hopefully eventually it can become just a wrapper around our 'make check'.
2002-03-26Jos points out that test -L is still broken on Solaris. Now we try upMartin Pool1-1/+27
front to detect a command that will work properly, and use that consistently. Also, in test report, show setting of $preserve_scratch. Reset version.
2002-03-25Add a test case for trim_trailing_slashes, and make it handle other cases.Martin Pool1-0/+29
2002-03-25Change chgrp.test to use our getgroups rather than the system's.Martin Pool2-2/+6
2002-03-22Doc permissions while testing.Martin Pool1-2/+8
2002-03-22Rather than literally "nobody", try using uid/gid = 65534 asMartin Pool1-0/+6
"nobody". The existing code kind-of assumes this.
2002-03-22Better messages.Martin Pool1-2/+2
2002-03-22Proper messages for skipped tests.Martin Pool3-12/+8
2002-03-22If tests are skipped, explain why.Martin Pool1-0/+1
2002-03-22Doc about checkit.Martin Pool1-0/+5