Commit message (Collapse) | Author | Age | ||
---|---|---|---|---|
... | ||||
* | Use detected CXX, AR and RANLIB from configure. | Chris Wilson | 2007-12-08 | |
| | ||||
* | Check for optreset (fixes [1930]) | Chris Wilson | 2007-12-08 | |
| | ||||
* | Fix keepalive test failure: | Chris Wilson | 2007-12-06 | |
| | | | | | | | | | * zero memory buffer before use to keep consistent behaviour. * expect a diff even if the maximum diffing time expires * really check when we have a diff and when we don't | |||
* | Use new logging framework for tracing diffs. | Chris Wilson | 2007-12-06 | |
| | | | | | Log each block found and each false match at DEBUG level. | |||
* | Enable TRACE logging in release builds, but make it really cheap | Chris Wilson | 2007-12-04 | |
| | | | | | when disabled. | |||
* | Make ExtendedLogging use the logging framework so that we can view | Chris Wilson | 2007-12-04 | |
| | | | | | the logs on the console along with other debug output. | |||
* | Re-initialise the timers when aborting test run during SSL KeepAlive | Chris Wilson | 2007-12-02 | |
| | | | | | | tests, as main() will try to clean them up and we'll get an error message if they're not initialised. | |||
* | Slightly improve output from waiting methods. | Chris Wilson | 2007-12-02 | |
| | ||||
* | Don't crash when trying to cleanup timers a second time (or if never | Chris Wilson | 2007-12-02 | |
| | | | | | initialised) in release mode. | |||
* | Another compile fix for [1931] | Chris Wilson | 2007-11-09 | |
| | ||||
* | Compile fix for [1931] | Chris Wilson | 2007-11-09 | |
| | ||||
* | Handle bbackupd_args without leading space. | Chris Wilson | 2007-11-07 | |
| | ||||
* | Fix getopt reset for solaris and maybe other platforms. See | Chris Wilson | 2007-11-07 | |
| | | | | | http://lists.debian.org/debian-glibc/2004/10/msg00070.html. | |||
* | Fix calling bbackupd with NO args in keepalive tests (fixes [1928]) | Chris Wilson | 2007-11-07 | |
| | ||||
* | Pass bbackupd_args to the internal daemon (spaces are NOT supported). | Chris Wilson | 2007-11-06 | |
| | | | | | Stop early if a keepalive test fails, for debugging. | |||
* | Don't add a superfluous leading space to bbackupd_args. | Chris Wilson | 2007-11-06 | |
| | ||||
* | Ensure that restore failure sets the return code from bbackupquery, so | Chris Wilson | 2007-11-06 | |
| | | | | | that symlink following test fails. | |||
* | This is C++ not ruby (oops) | Chris Wilson | 2007-11-06 | |
| | ||||
* | Add some debugging for a keepalive timer test failure reported by | Chris Wilson | 2007-11-06 | |
| | | | | | Matt Brown <matt@mbrown.co.uk> on 2007-11-06. | |||
* | Use lstat() instead of stat() to check whether a file exists. Thanks to | Chris Wilson | 2007-11-05 | |
| | | | | | | | | Hans-Joachim Baader for reporting this problem. (http://lists.warhead.org.uk/pipermail/boxbackup/2007-November/003958.html) Add a test that symlinks are not followed during restore. | |||
* | Add some sleeps to ensure that timestamps change enough to invalidate | Chris Wilson | 2007-11-04 | |
| | | | | | | the directory cache in the store on filesystem with low timestamp resolution (e.g. OSX). | |||
* | Really fix unlink() during restore, fixes [1919]. | Chris Wilson | 2007-11-04 | |
| | ||||
* | Allow ObjectExists() to take a std::string instead of just char *. | Chris Wilson | 2007-11-04 | |
| | ||||
* | unlink returns 0 on success, not on error. | Chris Wilson | 2007-11-04 | |
| | ||||
* | Wait for long enough after creating test files that they will actually | Chris Wilson | 2007-11-04 | |
| | | | | | | | be seen as old enough to upload by bbackupd. Fix comments. | |||
* | Make sync_and_wait() do what it's supposed to, not just force a sync. | Chris Wilson | 2007-11-04 | |
| | ||||
* | Compile fix for [1903]. | Chris Wilson | 2007-11-04 | |
| | ||||
* | Log an error if we fail to open the lockfile. | Chris Wilson | 2007-11-04 | |
| | ||||
* | Ignore time differences less than 1 second when comparing attributes, | Chris Wilson | 2007-11-04 | |
| | | | | | as not all filesystems can store times that accurately (e.g. OSX). | |||
* | Include the time taken by bbackupquery compare in the time between | Chris Wilson | 2007-11-04 | |
| | | | | | | syncs, used to check that the SyncAllowScript pauses backup for the correct length of time. | |||
* | Receiving a connection is not an error. | Chris Wilson | 2007-11-04 | |
| | ||||
* | Fix compare output for missing local files which are on the store. | Chris Wilson | 2007-11-04 | |
| | ||||
* | Compile fix for [1908]. | Chris Wilson | 2007-11-04 | |
| | ||||
* | Explicitly wait for sync to finish instead of assuming that 14 seconds | Chris Wilson | 2007-11-04 | |
| | | | | | is enough time. | |||
* | Move sync helper functions from test/bbackupd to Test.h to share with | Chris Wilson | 2007-11-04 | |
| | | | | | other tests, particularly test/backupstorefix. | |||
* | Keep each test's log in a separate file for later review. | Chris Wilson | 2007-11-03 | |
| | ||||
* | Remove all the extra newlines after the Fink message. | Chris Wilson | 2007-11-03 | |
| | ||||
* | Log something before checking open file descriptors, to ensure that | Chris Wilson | 2007-11-03 | |
| | | | | | | the notification socket is open already on MacOS X, as it will be at the end of the test because you can't close it. | |||
* | Log stderr output in the test log file, and don't delete it at the | Chris Wilson | 2007-11-03 | |
| | | | | | | end of the test (it might be useful later, and will be overwritten automatically) | |||
* | Log exactly which file descriptors have been left open and what they are. | Chris Wilson | 2007-11-03 | |
| | ||||
* | sigemptyset() is a macro on OSX 10.3, so don't prepend :: | Chris Wilson | 2007-11-03 | |
| | ||||
* | Bite the bullet and use sigaction() instead, since [1803] shows that | Chris Wilson | 2007-10-22 | |
| | | | | | | signal() works badly on SuckOS, and James reports that BSD doesn't have sigset(). | |||
* | Re-merge the good bits of [1873] with James' suggested improvements. | Chris Wilson | 2007-10-20 | |
| | ||||
* | Compile fix for MSVC (Gary) (merges [1861]) | Chris Wilson | 2007-10-17 | |
| | ||||
* | Make detailed timer debugging work on Windows as well. | Chris Wilson | 2007-10-17 | |
| | | | | | | | Add a couple of macros to clean up the code. (merges [1857]) | |||
* | Use the specified service name when installing and removing the service. | Chris Wilson | 2007-10-17 | |
| | | | | | | | | Pass the service name on the service command line, and use it for event log messages. (merges [1856]) | |||
* | Add "-h" and "/?" options to display usage in Daemon. | Chris Wilson | 2007-10-17 | |
| | | | | | | | | | Extend usage info with service commands in BackupDaemon. Disable useless -D, -V and -k options on Windows. (merges 1855]) | |||
* | Use Daemon's delegated option processing instead of our own hacks. | Chris Wilson | 2007-10-17 | |
| | | | | | | Move Windows service startup, installation and removal to BackupDaemon. (merges [1854]) | |||
* | Record the exit status of the daemon when running as a service, and | Chris Wilson | 2007-10-17 | |
| | | | | | | | | | | | | | | | | | | return it to Windows so that Windows doesn't tell the admin that "the service did not report an error" when it stopped unexpectedly. When failing to contact the SCM, report a textual error message as well as the error code. Make OurService() take a const char * instead of char *, so that we can pass it a std::string.c_str(). InstallService creates service using "-s" option instead of "--service", which no longer works once we use getopt() for option processing (to follow). (merges [1853]) | |||
* | Make Main(), GetOptionString() and ProcessOption virtual so that they | Chris Wilson | 2007-10-17 | |
| | | | | | can actually be overridden. (merges [1852]) |