summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAge
* Combine client and server protocols to make way for an offline/local protocol.Chris Wilson2011-08-27
| | | | | Rename ProtocolObject to Message.
* Fix test/bbackupd build for new object locations.Chris Wilson2011-06-22
|
* Major refactoring to make lib/backupclient depend on lib/backupstore ratherChris Wilson2011-04-26
| | | | | | | than the other way around. This is needed to allow clients to have all the code that they'd need to implement local backups (using the Local protocol) in subsequent commits.
* Reformat for readability.Chris Wilson2011-04-23
|
* Log the expected and actual values when comparison failed.Chris Wilson2011-04-23
|
* Log the line numbers where basicserver comms tests failed.Chris Wilson2011-04-23
|
* Fix compile error on Windows.Chris Wilson2011-01-09
|
* Add intercept logging, seems to work around intermittent failures inChris Wilson2011-01-09
| | | | | | | | | | | | testbbackupd: {{{ Waiting for internal daemon to scan spacetest/d1: ............ done. Waiting for server to die (pid 6307): .............................. failed! ERROR: **** TEST FAILURE: Condition [killed_server] failed at testbbackupd.cpp:718 ERROR: **** TEST FAILURE: Condition [stop_internal_daemon(pid)] failed at testbbackupd.cpp:1153 }}}
* Log the path, name and size of files being restored at TRACE level forChris Wilson2011-01-08
| | | | | | | | | | users wanting more detailed restore output. Disable printing dots when logging at TRACE level is enabled. Warn rather than failing to restore when the file attributes could not be restored. (merges [2745], [2827]).
* Fix location of memleaks file to fix test/bbackupd again.Chris Wilson2010-10-18
|
* Allow restoring directories with a single argument, using the remote nameChris Wilson2010-09-22
| | | | | as the local destination name also.
* Test that numbers of files are adjusted correctly during normal store Chris Wilson2010-08-27
| | | | | operations.
* Add test for failure to remove an unreferenced object as expected during Chris Wilson2010-02-28
| | | | | housekeeping.
* Run Perl scripts quietly during make.Chris Wilson2010-01-24
|
* Change bbstored port in backupstorepatch test to 22011.Chris Wilson2009-07-10
|
* Allow RaidFileWrite to test that the reference count of an object is Chris Wilson2009-07-05
| | | | | correct before overwriting or deleting it.
* Test that housekeeping can recreate the refcount database if it's Chris Wilson2009-06-28
| | | | | missing.
* Link testbackupstore against HousekeepStoreAccount so that it can call Chris Wilson2009-06-28
| | | | | housekeeping directly.
* Update reference counts when files and directories are uploaded.Chris Wilson2009-06-28
|
* Fix httpserver tests on win32.Chris Wilson2009-04-26
|
* Log while sleeping in test/bbackupd.Chris Wilson2009-04-26
| | | | | Only show warning about diff test time taken if it's out of bounds.
* Improve debugging output from external check script.Chris Wilson2009-04-26
|
* Fixes for gcc 4.4.Martin Ebourne2009-04-23
|
* Move S3Simulator into its own class, like S3Client, for reuse elsewhere.Chris Wilson2009-04-13
|
* Add missing #include <algorithm> to fix compile on lenny.Chris Wilson2009-04-10
|
* Fix speeling misteak.Chris Wilson2009-04-09
|
* Fix race conditions where backups happen too slowly and tests fail.Chris Wilson2009-04-09
|
* Fix compile error due to misisng signals on Windows. httpserver testChris Wilson2009-04-09
| | | | | still does not pass.
* 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.
* Change type of BackupStoreFilename not to derive from std::string, soChris Wilson2009-03-29
| | | | | | | | it can't accidentally be used as one. Fix use of encrypted filename in deleted file message, thanks to Kenny Millington for reporting.
* Debug logging of reason for request failure.Chris Wilson2009-03-24
|
* Fix tests (hopefully) on Win32 for struct stat ino_t change from 16 toChris Wilson2009-03-21
| | | | | 64 bits.
* Add comment about running test as root.Chris Wilson2009-03-16
|
* Fix race condition where bbackupd would run just before test finished Chris Wilson2009-03-15
| | | | | | waiting for its 90 second error timeout on slow machines, e.g. FreeBSD VM, causing bbackupd test to fail.
* Fix compile error on FreeBSD due to missing #include of signal.hChris Wilson2009-03-15
|
* Move S3Client class into its own files for public access.Chris Wilson2009-01-09
|
* Add support for PUT requests in HTTP simulator.Chris Wilson2009-01-09
|
* Initial implementations of S3Client class.Chris Wilson2009-01-07
|
* Add Amazon S3 signature checking to simulator.Chris Wilson2009-01-06
|
* Add support for HTTP PUT requests (uploads) in S3 simulator.Chris Wilson2009-01-05
|
* First part of S3 Simulator, read-only GET requests.Chris Wilson2009-01-04
|
* Add ability to send an HTTPRequest to a socket and to parse an Chris Wilson2009-01-03
| | | | | HTTPResponse from a socket, to create a simple HTTP client.
* Move TEST_EQUAL macro into lib/common/Test.h, rename to TEST_EQUAL_LINE, Chris Wilson2009-01-03
| | | | | provide TEST_EQUAL that only takes two arguments for simplicity.
* Compile and config verify fixes for HTTP server code.Chris Wilson2009-01-03
|
* Copy tests for HTTP server.Chris Wilson2009-01-03
|
* Rename NDEBUG flag to BOX_RELEASE_BUILD, as other projects use NDEBUG as Chris Wilson2008-12-30
| | | | | | well (e.g. wxWidgets) and it causes conflicts which are difficult to resolve.
* Fix permissions on restored files after test, so that test buildChris Wilson2008-11-24
| | | | | system stops complaining that it can't delete them.
* Fix test for slight change to logging format.Chris Wilson2008-10-29
|
* Revert incorrectly committed file.Chris Wilson2008-10-29
|
* Use the same ostringstream formatting for protocol logging to fileChris Wilson2008-10-29
| | | | | | that we use for standard logging, to fix 64bit platform warnings reported by Matt Brown.