summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* 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])
* Report more useful error messages on connect() failure on Windows. Chris Wilson2007-10-17
| | | | | (merges [1851])
* Compile fix. (merges [1850])Chris Wilson2007-10-17
|
* Refactor out command-line option processing, so that it can be extendedChris Wilson2007-10-17
| | | | | by subclasses. (merges [1849])
* Fix compilation on MinGW. Not yet actually used on MinGW due to theChris Wilson2007-10-17
| | | | | | file extension, but it might be soon, if the default implementation doesn't do what I want. (merges [1848])
* Undo bad changes (not all exclude options take a regex). (merges [1847])Chris Wilson2007-10-17
|
* Add James O'Gorman's NotifySysAdmin.vbs script to client parcel on Chris Wilson2007-10-17
| | | | | Win32. (merges [1838])
* Windows notify script logs an error in the System Event Log if sending Chris Wilson2007-10-17
| | | | | email fails. (merges [1837])
* Added function to set the named pipe name, for use by any test which Chris Wilson2007-10-17
| | | | | calls HUPServer() or SendCommands(). (merges [1836])
* Remove default pipe name to prevent applications from using it. (merges Chris Wilson2007-10-17
| | | | | [1835])
* Don't disable logging on Win32 console. (merges [1834])Chris Wilson2007-10-17
|