summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* 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.
* Catch and log exceptions in the HousekeepStoreAccount destructor.Chris Wilson2015-12-22
| | | | | | Destructors aren't supposed to throw exceptions, and they can be called while cleaning up from a previous exception, which will terminate the application, so just log the error and carry on.
* Use rd instead of rmdir command, to try to work properly in appveyor.Chris Wilson2015-12-20
| | | | | I think something is on the PATH in Appveyor that makes rmdir /s/q fail, especially when run through Perl.
* Fix OpenSSL makefile caching against version upgrades.Chris Wilson2015-12-20
| | | | | Cache the previous OpenSSL makefile for its timestamp, but rebuild it each time, compare to the cached one, and invalidate if necessary.
* Add more debugging for perl not being able to run rmdir /s/q.Chris Wilson2015-12-20
|
* Move reusable files from bin/bbstored to lib/bbstored.Chris Wilson2015-12-20
| | | | Break dependendency of test/bbackupd on individual files from other modules.
* Reinstate bbackupquery Makefile.extra, removed by 403e7e2.Chris Wilson2015-12-20
|
* Try to debug why rmdir /s/q is failing.Chris Wilson2015-12-20
|
* Build the INSTALL target for tests, to put executables into the right placesChris Wilson2015-12-19
|
* Add a prepare-only mode to runtest.pl, to help with debugging on WindowsChris Wilson2015-12-19
|
* Fix PERL_EXECUTABLE #define to use properly-escaped pathChris Wilson2015-12-19
|
* Add dependencies between modules properlyChris Wilson2015-12-19
|
* Make tests verbose, so we can see why they are failingChris Wilson2015-12-19
|