Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | 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]) | ||
* | Report more useful error messages on connect() failure on Windows. | Chris Wilson | 2007-10-17 |
| | | | | | (merges [1851]) | ||
* | Compile fix. (merges [1850]) | Chris Wilson | 2007-10-17 |
| | |||
* | Refactor out command-line option processing, so that it can be extended | Chris Wilson | 2007-10-17 |
| | | | | | by subclasses. (merges [1849]) | ||
* | Fix compilation on MinGW. Not yet actually used on MinGW due to the | Chris Wilson | 2007-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 Wilson | 2007-10-17 |
| | |||
* | Add James O'Gorman's NotifySysAdmin.vbs script to client parcel on | Chris Wilson | 2007-10-17 |
| | | | | | Win32. (merges [1838]) | ||
* | Windows notify script logs an error in the System Event Log if sending | Chris Wilson | 2007-10-17 |
| | | | | | email fails. (merges [1837]) | ||
* | Added function to set the named pipe name, for use by any test which | Chris Wilson | 2007-10-17 |
| | | | | | calls HUPServer() or SendCommands(). (merges [1836]) | ||
* | Remove default pipe name to prevent applications from using it. (merges | Chris Wilson | 2007-10-17 |
| | | | | | [1835]) | ||
* | Don't disable logging on Win32 console. (merges [1834]) | Chris Wilson | 2007-10-17 |
| |