summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* Use detected CXX, AR and RANLIB from configure.Chris Wilson2007-12-08
|
* Check for optreset (fixes [1930])Chris Wilson2007-12-08
|
* Fix keepalive test failure: Chris Wilson2007-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 Wilson2007-12-06
| | | | | Log each block found and each false match at DEBUG level.
* Enable TRACE logging in release builds, but make it really cheapChris Wilson2007-12-04
| | | | | when disabled.
* Make ExtendedLogging use the logging framework so that we can viewChris Wilson2007-12-04
| | | | | the logs on the console along with other debug output.
* Re-initialise the timers when aborting test run during SSL KeepAliveChris Wilson2007-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 Wilson2007-12-02
|
* Don't crash when trying to cleanup timers a second time (or if neverChris Wilson2007-12-02
| | | | | initialised) in release mode.
* Another compile fix for [1931]Chris Wilson2007-11-09
|
* Compile fix for [1931]Chris Wilson2007-11-09
|
* Handle bbackupd_args without leading space.Chris Wilson2007-11-07
|
* Fix getopt reset for solaris and maybe other platforms. SeeChris Wilson2007-11-07
| | | | | http://lists.debian.org/debian-glibc/2004/10/msg00070.html.
* Fix calling bbackupd with NO args in keepalive tests (fixes [1928])Chris Wilson2007-11-07
|
* Pass bbackupd_args to the internal daemon (spaces are NOT supported).Chris Wilson2007-11-06
| | | | | Stop early if a keepalive test fails, for debugging.
* Don't add a superfluous leading space to bbackupd_args.Chris Wilson2007-11-06
|
* Ensure that restore failure sets the return code from bbackupquery, soChris Wilson2007-11-06
| | | | | that symlink following test fails.
* This is C++ not ruby (oops)Chris Wilson2007-11-06
|
* Add some debugging for a keepalive timer test failure reported byChris Wilson2007-11-06
| | | | | Matt Brown <matt@mbrown.co.uk> on 2007-11-06.
* Use lstat() instead of stat() to check whether a file exists. Thanks toChris Wilson2007-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 invalidateChris Wilson2007-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 Wilson2007-11-04
|
* Allow ObjectExists() to take a std::string instead of just char *.Chris Wilson2007-11-04
|
* unlink returns 0 on success, not on error.Chris Wilson2007-11-04
|
* Wait for long enough after creating test files that they will actuallyChris Wilson2007-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 Wilson2007-11-04
|
* Compile fix for [1903].Chris Wilson2007-11-04
|
* Log an error if we fail to open the lockfile.Chris Wilson2007-11-04
|
* Ignore time differences less than 1 second when comparing attributes,Chris Wilson2007-11-04
| | | | | as not all filesystems can store times that accurately (e.g. OSX).
* Include the time taken by bbackupquery compare in the time betweenChris Wilson2007-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 Wilson2007-11-04
|
* Fix compare output for missing local files which are on the store.Chris Wilson2007-11-04
|
* Compile fix for [1908].Chris Wilson2007-11-04
|
* Explicitly wait for sync to finish instead of assuming that 14 secondsChris Wilson2007-11-04
| | | | | is enough time.
* Move sync helper functions from test/bbackupd to Test.h to share withChris Wilson2007-11-04
| | | | | other tests, particularly test/backupstorefix.
* Keep each test's log in a separate file for later review.Chris Wilson2007-11-03
|
* Remove all the extra newlines after the Fink message.Chris Wilson2007-11-03
|
* Log something before checking open file descriptors, to ensure thatChris Wilson2007-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 theChris Wilson2007-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 Wilson2007-11-03
|
* sigemptyset() is a macro on OSX 10.3, so don't prepend ::Chris Wilson2007-11-03
|
* Bite the bullet and use sigaction() instead, since [1803] shows thatChris Wilson2007-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 Wilson2007-10-20
|
* Compile fix for MSVC (Gary) (merges [1861])Chris Wilson2007-10-17
|
* Make detailed timer debugging work on Windows as well.Chris Wilson2007-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 Wilson2007-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 Wilson2007-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 Wilson2007-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, andChris Wilson2007-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 theyChris Wilson2007-10-17
| | | | | can actually be overridden. (merges [1852])