summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Switch cache directories to relative paths, comment out wildcard item.Chris Wilson2016-02-13
|
* OK, try single-quoting then.Chris Wilson2015-12-27
|
* Unquote cache directories to try to fix AppVeyor caching error:Chris Wilson2015-12-27
| | | | "The filename, directory name, or volume label syntax is incorrect"
* Try listing files to help debug random failures of test_multiple_uploads().Chris Wilson2015-12-27
|
* Check that DoHousekeeping() actually returns true.Chris Wilson2015-12-27
|
* Whitespace cleanup.Chris Wilson2015-12-27
|
* Fix passing of "release" argument to runtest.pl in release mode.Chris Wilson2015-12-27
|
* Exclude one more symlink from untarring on Windows with 7za.Chris Wilson2015-12-26
|
* Fix keepalive test on Windows, which depends on number of files present.Chris Wilson2015-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 Wilson2015-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 Wilson2015-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 deletion of test fixture directories with unicode names on Windows.Chris Wilson2015-12-25
| | | | | | | | We need to use CreateProcessW() instead of system() to pass these filenames to the rd command. Fixes every test that runs after test_unicode_filenames_can_be_backed_up in test/bbackupd.
* Fix deletion of fixtures between tests in test/backupstore.Chris Wilson2015-12-25
|
* Fix recursive directory deletion on Windows.Chris Wilson2015-12-24
|
* Replace shell implementation of test/bbackupd kill_running_daemons() with ↵Chris Wilson2015-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 Wilson2015-12-24
|
* Improve handing of error messages that Windows won't decode for some reason.Chris Wilson2015-12-24
|
* Properly initialise pBytesTransferred before WaitForOverlappedOperation returns.Chris Wilson2015-12-24
| | | | | Returning an uninitialised value was causing copying of random amounts of data in bbackupd on command socket disconnect, and crashes.
* Replace mpGetLine pointer with a std::auto_ptr.Chris Wilson2015-12-24
| | | | Allows us to remove cleanup code, because it happens automatically.
* Substitute TARGET_PERL in test/bbackupd config.Chris Wilson2015-12-24
| | | | This is needed for executing the SyncAllowScript, on which several tests depend.
* Catch exceptions during destruction of BackupStoreRefCountDatabase as well.Chris Wilson2015-12-24
| | | | | Like HousekeepStoreAccount and BackupStoreCheck, throwing an exception during the destructor will terminate the application in an "unusual way".
* Run release tests, not debug tests, in the release configuration.Chris Wilson2015-12-24
|
* Add a verbose mode to runtest.pl, to show the build progress.Chris Wilson2015-12-24
|
* Really build both debug and release versions of PCRE and Zlib.Chris Wilson2015-12-24
|
* In release configuration, install binaries into release tree, not debug tree.Chris Wilson2015-12-24
|
* We don't need to redefine TEST_EXECUTABLE here, Test.h does it for us.Chris Wilson2015-12-24
|
* We need to include IOStreamGetLine.h on Unix as well as on Windows.Chris Wilson2015-12-24
|
* Build release libs as well as debug in Appveyor, and link the right ones ↵Chris Wilson2015-12-24
| | | | into boxbackup.
* Add Visual Studio .user files to start executables in the right working ↵Chris Wilson2015-12-24
| | | | directories.
* Throw an exception if we try to openlog() without closelog() first on Windows.Chris Wilson2015-12-24
| | | | Use INVALID_HANDLE_VALUE for invalid handle values, instead of 0.
* Improve error message when we fail to register our custom Event Source on ↵Chris Wilson2015-12-24
| | | | Windows.
* Remove duplicate error number from Windows log messages.Chris Wilson2015-12-24
| | | | | GetErrorMessage() already includes the error number in the text string that it returns, so we don't need to include it again.
* Remove duplicate printing of exception details on test errors.Chris Wilson2015-12-24
| | | | | BoxException::what() now contains the full details of the exception, so we don't need to print the value returned by GetMessage() as well.
* Remove unix shell-isms from test/s3store, to make it work on Windows.Chris Wilson2015-12-24
|
* Fix test/httpserver startup on Windows (compiled with MSVC).Chris Wilson2015-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 Wilson2015-12-24
| | | | | Perl on Windows tends to use IPv6 for localhost if possible, but the server binds to IPv4, breaking the test.
* Catch exceptions during destruction of BackupStoreCheck as well.Chris Wilson2015-12-24
| | | | | Like HousekeepStoreAccount, throwing an exception during the destructor will terminate the application in an "unusual way".
* Add a version of KillServer that takes a pid_file, and reads the PID from it.Chris Wilson2015-12-24
|
* Move directory listing of build directories to after build is complete.Chris Wilson2015-12-23
|
* Try making registry change before enabling RDP, to see if that helps.Chris Wilson2015-12-23
|
* Change RDP authentication to allow connection from Linux.Chris Wilson2015-12-23
|
* Escape backslashes to try to fix parse error.Chris Wilson2015-12-23
|
* Increase indentation again to try to fix parse error.Chris Wilson2015-12-23
|
* Try enabling RDP to debug stuck build.Chris Wilson2015-12-22
|
* OK, try double-quoting then.Chris Wilson2015-12-22
|
* Try unquoting cache paths to see if that makes the cache work.Chris Wilson2015-12-22
| | | | | | List files in the directories to be cached. Cache the compiled zlib as well.
* Don't start and stop bbstored on Windows.Chris Wilson2015-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 Wilson2015-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 Wilson2015-12-22
| | | | | Otherwise when the counts differ later, we won't know whether we did the setup properly in the first place or not.
* Don't use close() to close a Winsock socket.Chris Wilson2015-12-22
| | | | | We should always use closesocket() instead, which the Close() method already does, so just call it instead.