summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* 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
|
* Replace mv command with rename(), and replace rm -r with rmdir /s/q on Windows.Chris Wilson2015-12-19
| | | | Fixes test/backupstorefix.
* Fix PERL_EXECUTABLE to be a native path, so that system() works.Chris Wilson2015-12-17
|
* Add support for cp command in testextra.Chris Wilson2015-12-17
| | | | Fixes test/backupstorepatch.
* Add support for rmdir lines in testextra.Chris Wilson2015-12-17
| | | | Fixes test/backupdiff.
* Fix account deletion on Windows.Chris Wilson2015-12-17
| | | | Use the rmdir command instead of rm -rf.
* Install test binaries too.Chris Wilson2015-12-17
| | | | | This makes command-line debugging a bit easier, and more like it is on Unix platforms.
* Change back to project directory at end, so that Appveyor can find the ↵Chris Wilson2015-12-17
| | | | solution file and build it.
* Use CTest to run tests.Chris Wilson2015-12-15
|
* Remove getpid() that should never have been addedChris Wilson2015-12-14
|
* Print the message that we failed to send to the syslog, to make some ↵Chris Wilson2015-12-14
| | | | debugging possible
* Really fix file locking on WindowsChris Wilson2015-12-14
|
* Fix path to makedocumentation.pl, which has just movedChris Wilson2015-12-14
|
* Merge branch 'appveyor' of github.com:boxbackup/boxbackup into appveyorChris Wilson2015-12-14
|\
| * Remove asserts that caused tests to blow up when directory permissions were ↵Chris Wilson2015-12-14
| | | | | | | | wrong
| * Fix Windows file locking to work with MSVCChris Wilson2015-12-14
| |
| * Add CTest configurations to CMake. Make some tests work on Windows/MSVC.Chris Wilson2015-12-13
| |
| * Add header files to dependencies and generated Visual Studio projectsChris Wilson2015-12-13
| |
| * Move reusable code out of bin directories.Chris Wilson2015-12-13
| | | | | | | | | | Allows tests to depend on lib/bbackupd instead of bin/bbackupd, which was always a hack, and really doesn't work with CMake.
| * Add some little string functions to Utils.cpp.Chris Wilson2015-12-13
| | | | | | | | | | | | | | These functions check whether the beginning and end of a std::string match a supplied prefix or suffix, and remove that prefix or suffix, returning the remaining part. They are almost but not entirely trivial, and giving them names makes the code that uses them much more readable.
| * Remove the duplicate copy constructor that MSVC warns about.Chris Wilson2015-12-13
| |
| * We still need to manually tell Configure to link ws2_32 as well as gdi32.Chris Wilson2015-12-13
| |
| * Try a different way to link -lgdi32, hopefully after other libs this time.Chris Wilson2015-12-13
| |
| * Also link -lgdi32 on Windows, because OpenSSL requires it!Chris Wilson2015-12-13
| |