summaryrefslogtreecommitdiff
path: root/test/backupstorepatch
Commit message (Collapse)AuthorAge
* New upstream version 0.13~~git20200326.g8e8b63cReinhard Tartler2020-05-10
|
* Speed up testbackupstorepatch on Windows.Chris Wilson2016-09-16
| | | | | Detect when housekeeping has run and account is unlocked, and stop the loop early, so that we don't have to wait for 32 iterations of the loop.
* Remove all timing dependency from test_ssl_keepalives().Chris Wilson2015-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.
* Fix misisng timeouts on network operations.Chris Wilson2015-02-23
| | | | | They cause a lot of noise in the Travis build logs.
* Make Protocol take control of the socket object passed in.Chris Wilson2014-03-01
| | | | | | | | | | | | | We pass a std::auto_ptr<SocketStream> to every Protocol subclass when we construct it, and it takes control of this object. This reduces the risk of: * accidentally reusing the same SocketStream for multiple Protocols (it happened to me in testbackupstore); * holding onto a reference to the SocketStream; * allowing a locally-scoped SocketStream to go out of scope and be released while still being referenced by a live Protocol.
* Fix test fallout from SendStream ptr to auto_ptr change.Chris Wilson2013-09-30
| | | | | You can only pass a std::auto_ptr<IOStream> to SendStream now. Nothing else will do for Clang. But you can cast a std::auto_ptr<subclass>.
* Combine client and server protocols to make way for an offline/local protocol.Chris Wilson2011-08-27
| | | | | Rename ProtocolObject to Message.
* Add test for failure to remove an unreferenced object as expected during Chris Wilson2010-02-28
| | | | | housekeeping.
* Change bbstored port in backupstorepatch test to 22011.Chris Wilson2009-07-10
|
* Show reasons for waiting during bbackupd and backupstorepatch tests,Chris Wilson2009-04-09
| | | | | | | | | | | to help with interpreting test output. When running at Trace level, where extra output from bbackupd etc. is common, log a single line at the start of waiting, instead of progress dots, to help with interpreting output. Show number of seconds waited for on Windows as well as Unixes.
* Use #defined paths for executables to remove win32/unix differences.Chris Wilson2007-03-25
| | | | | (refs #3)
* Moved SendCommands(), HUPServer(), KillServer() to lib/server/ServerCommands.h.Chris Wilson2007-03-10
| | | | | | | | | | | | | | | | | All of these use lib/server/WinNamedPipeStream on Win32, so they don't belong in lib/common. Made LaunchServer() work on Win32. Added constants for paths to executables, for use in tests, removing the need for #ifdefs and clumsy DIRECTORY_SEPARATORs in paths. Added terminate_bbackupd() and wait_for_operation() functions. Update unit tests to #include "ServerControl.h" if they need it. (refs #3)
* Remove double initialisation of winsock library. (refs #3)Chris Wilson2006-10-27
|
* (refs #3)Chris Wilson2006-09-02
| | | | | Use RunCommand instead of ::system to convert UNIX paths to native
* (refs #3)Chris Wilson2006-09-02
| | | | | | Don't check for memory leaks on Win32, since the process is force killed and doesn't have a chance to write the log file.
* (refs #3)Chris Wilson2006-09-02
| | | | | | Cannot signal bbstored to housekeep immediately on Win32, so just wait for it to happen.
* (refs #3)Chris Wilson2006-09-02
| | | | | Fix format strings on Win32
* (refs #3)Chris Wilson2006-09-02
| | | | | Initialise Windows sockets on Win32
* Revert to trunkChris Wilson2006-09-02
|
* * mergeChris Wilson2006-07-27
| | | | | | | - This is my current patch queue. I think that all of these are safe to apply. This is just under half of the pending changes in chris/general (the easy half).
* * configure.acChris Wilson2006-01-28
| | | | | | | | | | | | | | | | | | | * bin/bbstored/backupprotocol.txt * bin/bbstored/BackupCommands.cpp * bin/bbackupd/BackupClientContext.cpp * bin/bbackupd/BackupClientContext.h * bin/bbackupd/BackupClientDirectoryRecord.cpp * bin/bbackupd/BackupDaemon.cpp * lib/backupclient/BackupStoreFileDiff.cpp * lib/backupclient/BackupDaemonConfigVerify.cpp * lib/backupclient/BackupStoreFile.h * test/backupstore/testbackupstore.cpp * test/backupstorepatch/testbackupstorepatch.cpp - Applied changes from chris/diff-timeout-and-ssl-keepalive * test/backupdiff/testbackupdiff.cpp - Fixed test to match new prototype for EncodeFileDiff
* Box Backup 0.09 with a few tweeksBen Summers2005-10-14