Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Whitespace, import order and comment fixes | Chris Wilson | 2015-08-29 |
| | |||
* | Allow verifying a BackupStoreFile without closing underlying stream | Chris Wilson | 2015-08-29 |
| | |||
* | Make wrong return type an error, not a warning. | Chris Wilson | 2015-08-29 |
| | | | | We should never fail to return something from a non-void function. | ||
* | Add missing header include. | Chris Wilson | 2015-08-23 |
| | | | | | Fixes compilation on Windows. | ||
* | Don't overwrite OpenSSH Makefile during extraction. | Chris Wilson | 2015-08-23 |
| | | | | | | Hopefully should allow previous compilation results to be cached, when combined with not running ./Configure if the Makefile already exists. | ||
* | Add script to compile Box Backup and dependencies on Windows (Cygwin). | Chris Wilson | 2015-08-23 |
| | | | | | Automates the instructions found in docs/api-notes/win32_build_on_cygwin_using_mingw.txt. | ||
* | Reset NamedLock file descriptor immediately after closing. | Chris Wilson | 2015-08-15 |
| | | | | | | Otherwise, if we fail to unlink the lockfile, we will try to close it again, which will fail because it's already closed, and we'll never get around to unlinking it. | ||
* | Whitespace, layout and comment cleanups. | Chris Wilson | 2015-08-15 |
| | |||
* | Add configurable timeouts and HEAD request support to S3 client. | Chris Wilson | 2015-08-15 |
| | | | | Allow getting the Content-Length of an HTTPResponse object. | ||
* | Improve exception handling on backup store side. | Chris Wilson | 2015-08-15 |
| | | | | | | | | | | | | | | | | Add a new exception code to represent an object being completely missing (not found on the store at all), separate from not being found in a particular directory. Improve mapping of server-side exceptions to protocol error messages returned to the client. Add handling for missing exceptions, such as BackupStoreException::PatchChainInfoBadInDirectory, and the new BackupStoreException::ObjectDoesNotExist. Fix mapping for BackupStoreException::CouldNotFindEntryInDirectory to make it distinguistable from BackupStoreException::ObjectDoesNotExist. | ||
* | Fix memory leak tracking of calloc() allocations | Chris Wilson | 2015-08-08 |
| | |||
* | Add a BackupStoreFile encoding streaming verifier | Chris Wilson | 2015-08-07 |
| | |||
* | Allow moving a CollectInBufferStream's contents to another one | Chris Wilson | 2015-08-07 |
| | |||
* | Allow releasing a MemoryBlockGuard | Chris Wilson | 2015-08-07 |
| | |||
* | Whitespace cleanup | Chris Wilson | 2015-08-07 |
| | |||
* | Fix random failures of testbbackup test_backup_pauses_when_store_is_full. | Chris Wilson | 2015-08-07 |
| | | | | | Stop the client while waiting for housekeeping, to ensure that it doesn't prevent housekeeping from running and cause the test to fail. | ||
* | Really fix check for s3simulator memleaks. | Chris Wilson | 2015-08-06 |
| | |||
* | Replace TEST_CHECK_THROWS() with TEST_COMMAND_RETURNS_ERROR(). | Chris Wilson | 2015-08-06 |
| | | | | | Also checks the returned error code, and gives more useful diagnostics on failure. | ||
* | Handle generic exceptions by returning an Error message with correct Type. | Chris Wilson | 2015-08-06 |
| | |||
* | Improve error message when TEST_PROTOCOL_ERROR_OR() fails. | Chris Wilson | 2015-08-06 |
| | | | | | | The protocol command didn't succeed, it just returned a result with an unexpected type, so make the failure message reflect that and give details of the response actually received, to help with debugging. | ||
* | Fix memleaks file in test after changed in s3simulator daemon. | Chris Wilson | 2015-08-06 |
| | |||
* | Stop daemon on test setup, in case the previous test didn't. | Chris Wilson | 2015-08-06 |
| | |||
* | Fix return types for integer function to be integers | Chris Wilson | 2015-08-06 |
| | |||
* | Shorten minimum sleep while waiting for test daemons to die | Chris Wilson | 2015-08-06 |
| | |||
* | Fix StartClient() to store new pid correctly | Chris Wilson | 2015-08-06 |
| | |||
* | Fix error message corruption in BackupDaemon. | Chris Wilson | 2015-08-06 |
| | | | | Was due to accessing the exception's string after it had gone out of scope. | ||
* | We do still need to #include autogen_ClientException.h | Chris Wilson | 2015-07-31 |
| | |||
* | Enable caching of Apt packages | Chris Wilson | 2015-07-31 |
| | |||
* | Attempt to switch to new Travis infrastructure. | Chris Wilson | 2015-07-31 |
| | |||
* | Test that root directory was created properly | Chris Wilson | 2015-07-31 |
| | |||
* | Add missing bbackupd.keys file and a marker to create subdirs. | Chris Wilson | 2015-07-31 |
| | |||
* | Compile fix | Chris Wilson | 2015-07-31 |
| | |||
* | Add missing files for S3Store test. | Chris Wilson | 2015-07-31 |
| | |||
* | Add S3Store account creation. | Chris Wilson | 2015-07-31 |
| | |||
* | Fix ServerStream logging too many messages when waiting for a child to die. | Chris Wilson | 2015-07-31 |
| | | | | Detect that there are no remaining children to wait for, and return quietly. | ||
* | Fix S3Simulator daemon name, and hence memleaks filename. | Chris Wilson | 2015-07-31 |
| | |||
* | Add HTTP request logging to S3Simulator. | Chris Wilson | 2015-07-31 |
| | |||
* | Add a method on S3Client to check HTTPResponse for errors. | Chris Wilson | 2015-07-31 |
| | | | | Throws a suitable exception if the response status code is not 200 OK. | ||
* | Fix S3Client handling of "Connection: close" responses. | Chris Wilson | 2015-07-31 |
| | | | | | We can't continue to use the same connection after receiving such a response, so close it immediately. | ||
* | Add utility methods to HTTPRequest and HTTPResponse classes. | Chris Wilson | 2015-07-31 |
| | | | | | Allow getting method name of an HTTPRequest, and connection open/closed status of an HTTPResponse. | ||
* | Refactor to allow sharing code for starting and stopping daemons in tests. | Chris Wilson | 2015-07-31 |
| | | | | | The new StartDaemon() and StopDaemon() in ServerControl.cpp/h are generic, and used by StartClient() and StartServer() in StoreTestUtils.cpp/h. | ||
* | Move InvalidConfiguration exception to CommonException. | Chris Wilson | 2015-07-31 |
| | | | | Allows it to be used by S3Store, or in fact anything that uses Configuration. | ||
* | Refactor BackupStoreInfo to allow creating them without RaidFiles. | Chris Wilson | 2015-07-31 |
| | | | | | They can now be created using a constructor, and written to any IOStream. Needed for writing them to an S3Store. | ||
* | Add AccountNumber to list of config keys checked at runtime. | Chris Wilson | 2015-07-31 |
| | | | | S3Stores don't have account numbers. | ||
* | Move load_config_file to Test.cpp to allow reuse. | Chris Wilson | 2015-07-25 |
| | |||
* | Remove duplicate declaration of test functions. | Chris Wilson | 2015-07-25 |
| | |||
* | Refactor BackupStoreInfo to allow loading from any IOStream. | Chris Wilson | 2015-07-19 |
| | |||
* | Fix test_backup_pauses_when_store_is_full by waiting for housekeeping. | Chris Wilson | 2015-07-18 |
| | | | | | | It's not safe to assume that we can get into the store before housekeeping runs, so don't try. Just wait for housekeeping to run and check that all the files are deleted afterwards. | ||
* | Major test refactor to support test suites. | Chris Wilson | 2015-07-01 |
| | | | | | | | Refactor all common code from testbbackupd and testbackupstore to allow other test suites to contain multiple tests and execute selected tests more easily. Report all test results within a suite in a standard, easy to read summary. | ||
* | Compile fix for test/bbackupd after ClientException move | Chris Wilson | 2015-06-28 |
| |