Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Try listing files to help debug random failures of test_multiple_uploads(). | Chris Wilson | 2015-12-27 |
| | |||
* | Exclude one more symlink from untarring on Windows with 7za. | Chris Wilson | 2015-12-26 |
| | |||
* | Fix keepalive test on Windows, which depends on number of files present. | Chris Wilson | 2015-12-26 |
| | | | | | On Windows there are no symlinks, so there should be 3 fewer files in the directory, and thus 6 fewer keepalives sent. | ||
* | Replace Unix-specific paths used by test/bbackupd with native paths. | Chris Wilson | 2015-12-26 |
| | | | | | Should fix some problems with running the perl scripts, causing test failures on Windows. | ||
* | Fix test/backupstorefix random failures caused by file upload order. | Chris Wilson | 2015-12-26 |
| | | | | | | | | Previously, files were uploaded using bbackupd, which did it in the order that it read the directories, which was OS-dependent. So destroying certain fixed RaidFiles would have an unpredictable effect on the store. Now, we write a manifest when creating the test files, and upload them in exactly that order, so that the ID of each file will always be the same. | ||
* | Fix recursive directory deletion on Windows. | Chris Wilson | 2015-12-24 |
| | |||
* | Replace shell implementation of test/bbackupd kill_running_daemons() with ↵ | Chris Wilson | 2015-12-24 |
| | | | | | | pure C++. Allows it to work with Visual Studio and no Cygwin/MSYS shell. | ||
* | Use 7za to extract tgz files on Windows, as there's no (reliable) tar command. | Chris Wilson | 2015-12-24 |
| | |||
* | We don't need to redefine TEST_EXECUTABLE here, Test.h does it for us. | Chris Wilson | 2015-12-24 |
| | |||
* | Remove unix shell-isms from test/s3store, to make it work on Windows. | Chris Wilson | 2015-12-24 |
| | |||
* | Fix test/httpserver startup on Windows (compiled with MSVC). | Chris Wilson | 2015-12-24 |
| | | | | | Avoid using the rm command, and use the correct name for the test executables compiled by our cmake alternate build system. | ||
* | Use 127.0.0.1 instead of localhost in test/httpserver, to force use of IPv4. | Chris Wilson | 2015-12-24 |
| | | | | | Perl on Windows tends to use IPv6 for localhost if possible, but the server binds to IPv4, breaking the test. | ||
* | Don't start and stop bbstored on Windows. | Chris Wilson | 2015-12-22 |
| | | | | | StopServer() does a hard terminate on Windows, which can leave temporary files in place, causing problems later in the test. | ||
* | Change a generated filename to avoid creating files called "con". | Chris Wilson | 2015-12-22 |
| | | | | | Con is a special filename on Windows and you just can't create a file with that name. | ||
* | Check file counts before messing with the store in test/backupstorefix. | Chris Wilson | 2015-12-22 |
| | | | | | Otherwise when the counts differ later, we won't know whether we did the setup properly in the first place or not. | ||
* | Use rd instead of rmdir command, to try to work properly in appveyor. | Chris Wilson | 2015-12-20 |
| | | | | | I think something is on the PATH in Appveyor that makes rmdir /s/q fail, especially when run through Perl. | ||
* | Move reusable files from bin/bbstored to lib/bbstored. | Chris Wilson | 2015-12-20 |
| | | | | Break dependendency of test/bbackupd on individual files from other modules. | ||
* | Replace mv command with rename(), and replace rm -r with rmdir /s/q on Windows. | Chris Wilson | 2015-12-19 |
| | | | | Fixes test/backupstorefix. | ||
* | Remove asserts that caused tests to blow up when directory permissions were ↵ | Chris Wilson | 2015-12-14 |
| | | | | wrong | ||
* | Fix Windows file locking to work with MSVC | Chris Wilson | 2015-12-14 |
| | |||
* | Add CTest configurations to CMake. Make some tests work on Windows/MSVC. | Chris Wilson | 2015-12-13 |
| | |||
* | Fix invalid constant name, picked up by MSVC (and not by GCC or LLVM) | Chris Wilson | 2015-12-13 |
| | |||
* | Define TEST_EXECUTABLE to allow it to have different names on MSVC/CMake. | Chris Wilson | 2015-12-13 |
| | |||
* | Remove more references to unistd.h. | Chris Wilson | 2015-12-10 |
| | |||
* | Fix mismatched start and end test macros on Windows | Chris Wilson | 2015-12-09 |
| | |||
* | Merge Arnaud Grandville's Windows fixes. | Chris Wilson | 2015-12-09 |
|\ | | | | | | | Merge branch 'master' of https://github.com/agrandville/boxbackup into appveyor | ||
| * | Merge branch 'master' into fix_arm_struct_packing | Chris Wilson | 2015-09-21 |
| |\ | |||
| | * | Remove all timing dependency from test_ssl_keepalives(). | Chris Wilson | 2015-09-20 |
| | | | | | | | | | | | | | | | | | | | | | | | | This test has always been fragile, and usually fails on Travis for reasons unknown, so replace the log parsing and intercepts with simple mocking code. This doesn't cover 100% of what the old test did, including diff timer aborts and the number of blocks used by the uploaded files, but it should be completely robust. | ||
| | * | Rename global TLSContext variable to avoid conflicts. | Chris Wilson | 2015-09-20 |
| | | | | | | | | | | | | | | | "context" might easily be used in a test function, and doesn't follow our naming convention anyway, so renamed to sTlsContext. | ||
| * | | Add a test for reading and writing BackupStoreDirectory binary data. | Chris Wilson | 2015-09-20 |
| |/ | | | | | | | | | | | | | | | | | See discussion of incompatible struct packing on ARM processors: http://lists.boxbackup.org/pipermail/boxbackup/2010-November/005818.html http://lists.boxbackup.org/pipermail/boxbackup/2011-February/005978.html Thanks to Leif Linderstam for identifying the problem and proposing a solution. This is just a test for the problem, not a fix in itself. | ||
* / | Remove unused headers to aid compilation on Windows (MSVC). | Chris Wilson | 2015-12-08 |
|/ | |||
* | Disable httpserver keepalive tests until keepalive support is implemented. | Chris Wilson | 2015-08-29 |
| | | | | Switch httpserver daemon start/stop to use standard functions. | ||
* | Whitespace, import order and comment fixes | Chris Wilson | 2015-08-29 |
| | |||
* | 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. | ||
* | Add a BackupStoreFile encoding streaming verifier | 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. | ||
* | 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 |
| | |||
* | 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 |
| | |||
* | Add missing files for S3Store test. | Chris Wilson | 2015-07-31 |
| | |||
* | Move load_config_file to Test.cpp to allow reuse. | Chris Wilson | 2015-07-25 |
| | |||
* | 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 |
| | |||
* | Ensure that errored tests are reported as failures, not successes | Chris Wilson | 2015-06-10 |
| | |||
* | Fix another test failure on Windows caused by holding files open. | Chris Wilson | 2015-05-16 |
| | |||
* | Fix test failures on Windows caused by keeping files open too long. | Chris Wilson | 2015-05-16 |
| | | | | | | Once again, the Windows issue of being unable to delete or overwrite an open file causes issues. In this case it's only test failures. We need to be diligent about closing open file handles and protocol sessions in tests. |