Commit Graph

  • 377d22ab9f If the server is exiting with an error, delay our exit just a little in order to give the client side a better chance of reading any error message we just sent. Wayne Davison 2007-05-06 19:44:26 +00:00
  • 4f3797c7e2 Clumped some option-sending together that only happens on the sending side. Wayne Davison 2007-05-05 18:34:37 +00:00
  • 6b5a8f80fc Try a better way to deduce if the xattr functions we need are there. Wayne Davison 2007-04-30 02:58:14 +00:00
  • bf10faa9dc Added a "sleep 1" to make certain failures more reproducible. Wayne Davison 2007-04-29 15:01:57 +00:00
  • 548ca46fec Use the --super option for the non-fake test, just in case a system can chown without appearing to be root (uid 0). Wayne Davison 2007-04-28 23:47:16 +00:00
  • e8c64ffdc7 If the lgetxattr() function isn't found, disable xattr support. Wayne Davison 2007-04-28 18:40:23 +00:00
  • 0eb05245f1 Authorize 10.0.1.2 for one of the BSD test-farm systems. Wayne Davison 2007-04-28 17:22:53 +00:00
  • 0156c7842d Improved the --iconv description. Wayne Davison 2007-04-27 14:09:22 +00:00
  • 1acb8f5119 Added the $(CHECK_SYMLINKS) var to installcheck target. Wayne Davison 2007-04-27 13:52:07 +00:00
  • 76e754a0fd Fixed the buildability of the file without ICONV_OPTION enabled. Wayne Davison 2007-04-27 00:19:21 +00:00
  • e7f905accb Fixed the comment about --iconv. Wayne Davison 2007-04-27 00:19:02 +00:00
  • a9a8bc962c Got rid of the --no-ir kluge in this test. Wayne Davison 2007-04-26 23:15:51 +00:00
  • a6e7b97868 - Fixed the merging of duplicated directory hierarchies in incremental recursion mode. - Fixed some problems with --iconv in incremental recursion mode. Wayne Davison 2007-04-26 23:15:47 +00:00
  • 1befb74b13 Refer to the right sorted/unsorted file list array in touch_up_dirs(). Wayne Davison 2007-04-26 23:15:43 +00:00
  • 8f3335a18c The server now needs the F_NDX() data for --iconv with incremental recursion. Wayne Davison 2007-04-26 23:15:39 +00:00
  • 505c0579f7 Added FLAG_DUPLICATE for the sender to mark a duplicate flist entry (which is better on the sending side than clearing the duplicate's data). Wayne Davison 2007-04-26 23:15:36 +00:00
  • a430691df1 Prevent a hang in incremental-recursion mode when the receiver encounters an error updating the file: the receiver now sends MSG_NO_SEND to the generator so that it knows when all outstanding work is completed. Wayne Davison 2007-04-26 23:06:38 +00:00
  • 332cf6df7c The --iconv option has now made it to the trunk. Wayne Davison 2007-04-26 05:53:13 +00:00
  • 3f7afe7ec1 Changed a "mkdir -p" into a makedir. Wayne Davison 2007-04-26 05:32:38 +00:00
  • 8fc4033ef0 Changed F_ROOTDIR() to F_PATHNAME(). Wayne Davison 2007-04-26 00:23:52 +00:00
  • ef35abb2b7 - Renamed flist_dir to pathname to avoid confusion with dir_flist var. - Renamed push_flist_dir() to push_pathname(). - Set a pool var in recv_file_ent() instead of playing games with flist. - Simplified the top_flags computation in send_file_list(). Wayne Davison 2007-04-26 00:23:48 +00:00
  • 0b68d6b6f4 Create symlinks for fake tests. Wayne Davison 2007-04-24 19:33:12 +00:00
  • f1271537a4 Put the files down in a subdir so that we test backup's dir- creating functionality (which had a bug until recently). Wayne Davison 2007-04-24 19:03:54 +00:00
  • b13505da1d Need to call unmake_file() instead of free() on a file_struct. Wayne Davison 2007-04-24 18:43:31 +00:00
  • 7ea6ea98c8 Use a single makepath call with multiple args. Wayne Davison 2007-04-24 18:21:08 +00:00
  • d1798a2fda Allow makepath to take multiple args. Wayne Davison 2007-04-24 18:19:25 +00:00
  • e911ff75d6 Specify an arg sequence that was recently failing to work. Wayne Davison 2007-04-24 18:18:57 +00:00
  • 49f7162e7d Use a slightly different rsync calling syntax. Wayne Davison 2007-04-24 18:18:29 +00:00
  • 3bb88b4388 Fixed a directory push problem with the user specified an arg with a subdir followed by an arg with no subdirs. Wayne Davison 2007-04-24 17:53:54 +00:00
  • b3fbe3ce35 The chown script now has a --fake-super mode if the script name has "fake" in it. Added a symlink named chown-fake.test. Wayne Davison 2007-04-24 17:22:01 +00:00
  • 9557eabaa7 Made the devices.test script do a real device test when called normally, or a fake-device test when called with "fake" in the script name. Added a devices-fake.test symlink. Wayne Davison 2007-04-24 17:06:09 +00:00
  • acac1f5c6f Conditionalize xattr code for systems without xattr support. Wayne Davison 2007-04-24 16:54:38 +00:00
  • 3427355422 A little more popt tweaking. Wayne Davison 2007-04-24 16:11:02 +00:00
  • cbf626fd62 Fixed build problem for tls for those using the included popt. Wayne Davison 2007-04-24 16:06:29 +00:00
  • 1c702303eb Moved the header info from smb_acls.h into lib/sysacls.h. Wayne Davison 2007-04-24 08:11:02 +00:00
  • 9a234269ed Improved the usage message. Wayne Davison 2007-04-24 08:00:49 +00:00
  • db9c9e2766 Added arg-parsing to tls.c. Wayne Davison 2007-04-24 07:52:45 +00:00
  • 9439c0cb5a Adding the --fake-super option. Wayne Davison 2007-04-24 07:32:44 +00:00
  • 2ed790f354 Improved the SUBPROTOCOL_VERSION code a little, and bumped the value to 2. Wayne Davison 2007-04-23 19:54:07 +00:00
  • 486f8cd1ab Changed the prerelease-protocol support to use an idiom that will not slow down the initial version handshake between the two sides. Wayne Davison 2007-04-23 19:03:29 +00:00
  • 875a13b42c No need to reset quiet, since we tell parse_arguments() that it should prevent quiet from getting set. Wayne Davison 2007-04-23 18:40:00 +00:00
  • 719522b9bd Tweaked --version in a few minor ways, including the mentioning of the SUBPROTOCOL_VERSION if it is non-zero. Wayne Davison 2007-04-21 19:46:19 +00:00
  • 753849fdbc Batch files need to be written with the new subprotocol value for protocol 30. Wayne Davison 2007-04-21 19:32:46 +00:00
  • bb25779de7 Mention how many bits our local timestamps support. Wayne Davison 2007-04-21 19:31:54 +00:00
  • 348d54d6d1 Mention the latest changes that have been made. Wayne Davison 2007-04-21 19:27:04 +00:00
  • 4471d9e570 Added a way to exchange a protocol's sub-protocol value. This will be 0 when a protocol goes final, and non-zero for an intermediary CVS version of a protocol that is in flux. If we find that we're talking to a CVS version with a different sub-protocol #, we automatically drop back to the prior protocol that the sides have in common. Wayne Davison 2007-04-21 18:40:42 +00:00
  • 19d4cac996 We now allow verbose messages to be sent when forwarding incremental-recursion file-list data from the receiver to the generator. Wayne Davison 2007-04-20 22:40:01 +00:00
  • e4c877cf70 Added a message queue for the receiver->generator messages to handle the case where the message pipe is being used to forward the file-list data. Wayne Davison 2007-04-20 22:39:58 +00:00
  • f14b3ef430 Verify that the modtime value is not being truncated, and complain if it is. Wayne Davison 2007-04-20 22:39:55 +00:00
  • f3c93b1761 Check the size of a time_t. Wayne Davison 2007-04-20 21:39:08 +00:00
  • a72ba0cfac Call the new {read,write}_varlong30() names for the long-int functions that are protocol sensitive. Wayne Davison 2007-04-20 08:17:06 +00:00
  • ba59bd68fc - Call the new {read,write}_varlong30() names for the long-int functions that are protocol sensitive. - Changed the sending of the time value in protocol 30 to support 64-bit values without bloating positive 32-bit values. Wayne Davison 2007-04-20 08:17:03 +00:00
  • 1c60d21947 Got rid of the NVAL*() defines. Wayne Davison 2007-04-20 08:16:59 +00:00
  • 473feecff3 Added {read,write}_varlong30() inline functions to use the right long-int function based on protocol version. Wayne Davison 2007-04-20 08:16:56 +00:00
  • 351e23ad8e - Changed the {read,write}_longint() functions into separate {read,write}_varlong() and {read,write}_longint() functions: the former handles variable-length transmissions, and the latter is backward-compatible with older rsync versions. - Improved the {read,write}_var{int,long}() functions to be simpler and to use a different byte order. - The {read_write}_varlong() functions also allow the caller to specify the minimum number of bytes to send. This allows time values to be sent efficiently with a 4-byte minimum, while length values continue to be sent with a (more optimal for them) 3-byte minimum. Wayne Davison 2007-04-20 08:16:53 +00:00
  • f31514adb7 Changed the *_abbbrevint() functions to *_varint(). Wayne Davison 2007-04-20 02:17:58 +00:00
  • 2fcc265c2f Got rid of protocol-29 check. Wayne Davison 2007-04-18 03:30:53 +00:00
  • b58e40332f If ssh access is not enabled, use a shell function to test that we can copy using a spawned rsync process. Wayne Davison 2007-04-18 03:23:26 +00:00
  • a217c45359 Got rid of ACL's uid/gid iterators in favor of a single function that converts the uids & gids in a loop. Wayne Davison 2007-04-18 02:33:02 +00:00
  • 764782662d Can eliminate the testtmp.* ignore rule now. Wayne Davison 2007-04-14 07:11:32 +00:00
  • 4b24f4a2b5 Changed scratchbase from using a "testtmp." name prefix to using a "testtmp/" name prefix (i.e. using a subdir). This allows me to create a testtmp as a symlink to a different file system to assist with testing ACLs and xattrs. Wayne Davison 2007-04-14 07:10:52 +00:00
  • c64ff141b8 Improved the description of the --checksum option. Wayne Davison 2007-04-12 02:44:41 +00:00
  • 1b896f8d1e The check for GCC <= 2 was in the wrong part of an #ifdef sequence. Wayne Davison 2007-04-12 02:37:31 +00:00
  • 01894cf01f Allow a local-server copy to use -X and -A even if a --protocol-version is forced, which makes some testing idioms easier. Wayne Davison 2007-04-07 19:22:20 +00:00
  • 16edf86595 The improved --xattrs option is landing on the trunk. Wayne Davison 2007-04-07 17:22:25 +00:00
  • 1c53e5171c Tweaked an error message and a comment. Wayne Davison 2007-04-07 17:22:09 +00:00
  • 63d83e9477 Improved push_dir() error reporting. Wayne Davison 2007-03-25 17:01:48 +00:00
  • 5463453489 The print now uses a more straight-forward map() instead of a join(). Wayne Davison 2007-03-21 13:51:54 +00:00
  • 108133689d Use relative directories, and note that the merge code is only working because it is not yet using --inc-recursion. Wayne Davison 2007-03-18 20:41:51 +00:00
  • 46ad63b7cf Added a test of a multi-file copy from a nested directory using a relative source path. Wayne Davison 2007-03-18 20:40:01 +00:00
  • dbb20f6bc0 One more tweak. Wayne Davison 2007-03-18 20:05:24 +00:00
  • 25c2a6ac0e Fixed a multi-file, no-dir, relative copy, such as: rsync -av lib/*.c /var/tmp/lib Wayne Davison 2007-03-18 17:35:39 +00:00
  • 161fba6903 Put the checksum seed at the end of the checksum2 buffer in md5 mode. Wayne Davison 2007-03-18 06:28:51 +00:00
  • 55edf18c42 Made a char* arg const. Wayne Davison 2007-03-18 06:20:07 +00:00
  • a0456b9c46 Protocol 30 now uses MD5 checksums instead of MD4. Wayne Davison 2007-03-18 06:00:53 +00:00
  • 1a515b494b In option descriptions, the short form of --copy-dirlinks is -k, not -K. Wayne Davison 2007-03-15 23:17:26 +00:00
  • 33cd9ad54b I managed to duplicate the hang, so hopefully it's fixed now. Let's restore the full test suite and find out. Wayne Davison 2007-03-14 00:22:05 +00:00
  • 896f046f79 Fixed more potential hang cases for incremental recursion. Wayne Davison 2007-03-14 00:20:44 +00:00
  • b9d5eea5c6 Next step: allow protocol 30 to be used, but disallow the use of incremental recursion. If this still avoids the hanging, I will need to try to track down how inc_recurse can deadlock. Wayne Davison 2007-03-14 00:02:39 +00:00
  • 5275029d11 Added an explicit option that will disallow the use of incremental recursive mode (and an option to negate that). Wayne Davison 2007-03-14 00:00:01 +00:00
  • 271aeaa49e Next step: see if the hang returns with a partial restoration of protocol 30. Wayne Davison 2007-03-12 18:05:03 +00:00
  • 91763a9c2f It looks like some of the compile-farm hosts are hanging on this test, so let's try some remote-diagnostics (let's try protocol 29 first). Wayne Davison 2007-03-12 04:56:15 +00:00
  • 18438f0bac Changed the sending of device major/minor numbers in protocol 30 to take fewer protocol bytes and use one less bit in the XMIT_* flags. Wayne Davison 2007-03-12 04:33:30 +00:00
  • 057f649fc9 When a hard-linked device is duplicating the data from the prior device, we need to allocate 2 extra option slots for the device numbers. Wayne Davison 2007-03-11 22:02:26 +00:00
  • 88467ec444 Don't enable ACLs on darwin until we figure out how they work. Wayne Davison 2007-03-11 14:25:00 +00:00
  • 1b897d50a9 Leave out two unneeded sys*_fd() functions due to their using a function & struct that is not available in the rsync code. Wayne Davison 2007-03-11 07:31:17 +00:00
  • d4a013edb7 We now compile on systems where ENOTSUP is not defined. Wayne Davison 2007-03-11 07:21:07 +00:00
  • 545584cb9a Leave SUPPORT_ACLS undefined instead of giving it a 0 value. Wayne Davison 2007-03-11 07:13:11 +00:00
  • e5abce8e0d Silence a compiler warning about a printf() %d mismatch. Wayne Davison 2007-03-11 06:50:48 +00:00
  • 3060ca8d42 Temporarily skip this test as it is taking too long on the compile farm at the moment. Wayne Davison 2007-03-11 06:27:59 +00:00
  • ab14d01a0e Use the abbrevint30 routines in a few more places. Wayne Davison 2007-03-11 05:59:46 +00:00
  • 987838fd2c Make configure continue if ACL support is not found and the user didn't explicitly ask for ACLs. Wayne Davison 2007-03-11 05:54:21 +00:00
  • 6d4e718f5f Moved the new static internal functions from rsync.h to io.h. Wayne Davison 2007-03-11 05:43:55 +00:00
  • 1c3344a105 The ACL support has arrived! This version has a brand new protocol that makes it incompatible with all prior versions. A patch will be provided to allow talking with older (patched) rsync versions. Wayne Davison 2007-03-11 00:13:34 +00:00
  • 085e2fd588 Changed the code that cleans up the old nightly releases from time-based to count-based (keeping the newest 10 items). Wayne Davison 2007-03-08 02:00:48 +00:00
  • f41152d393 Decided that we don't really want the rule that preserves the backup-suffix files to be perishable. Wayne Davison 2007-03-05 17:08:00 +00:00
  • d0c59b0e88 A local server needs to process the auto-exclude rules since we don't send the excludes over the socket for a local copy. Wayne Davison 2007-03-04 14:56:22 +00:00
  • f49c837651 Mention the slight change to the auto-filter rules that are created for the --backup option and the --partial-dir option. Wayne Davison 2007-03-03 01:14:08 +00:00
  • c12895089c Moved a couple auto-filter rules from options.c into compat.c so that we are sure to only apply the perishable filter modifier when the receiving side is new enough to understand it. Wayne Davison 2007-03-03 01:06:45 +00:00
  • 27122338dc Make the auto-generated protect filters use the perishable flag so that they don't stop a vanished directory from being removed. Wayne Davison 2007-03-02 21:14:01 +00:00