summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Make testfiles writable before trying to delete them, otherwise read-onlyChris Wilson2007-05-03
| | | | | tests might not work (refs #3)
* Read-only restore test fix (refs #3)Chris Wilson2007-05-03
|
* Add missing #include <errno.h>, thanks to Matt Brown (refs #3)Chris Wilson2007-05-02
|
* Fix running common tests in release mode, by not doing things thatChris Wilson2007-05-02
| | | | | crash in release mode, but assert in debug mode. (refs #3)
* Compile fix, thanks to Matt Brown (refs #3)Chris Wilson2007-05-02
|
* Read any remaining data from the encoded stream (such as EOF marker)Chris Wilson2007-04-29
| | | | | | before discarding it, to ensure that we don't break the protocol. (refs #2, refs #3)
* Report Restore_UnknownError properly during restore.Chris Wilson2007-04-29
| | | | | Report unknown result codes. (refs #3)
* Remove assertion that we are at the end of the stream when decodingChris Wilson2007-04-29
| | | | | finishes. This is not true when decoding raw files on disk. (refs #3)
* Remove unwanted blank line. (refs #3)Chris Wilson2007-04-29
|
* Make directories user-writable while restoring them, so that restoringChris Wilson2007-04-29
| | | | | | read-only directories as a non-root user doesn't crash. Restore the correct permissions after restoring the directory's contents. (refs #3)
* Make directories user-writable while restoring them, so that restoringChris Wilson2007-04-29
| | | | | | read-only directories as a non-root user doesn't crash. Restore the correct permissions after restoring the directory's contents. (refs #3)
* Initialise mSingleProcess flag to false (oops!) (refs #3)Chris Wilson2007-04-29
|
* Gratuitous cosmetic reformatting, to make the test easier to read (refs #3)Chris Wilson2007-04-28
|
* Call perl executable to execute external scripts, since shebang doesn'tChris Wilson2007-04-28
| | | | | work on win32. (refs #3)
* Remove misplaced hunk. (refs #3)Chris Wilson2007-04-28
|
* Close updated files during continuous-update test, so that they can beChris Wilson2007-04-28
| | | | | backed up on Win32. (refs #3)
* Use helper function rather than calling bbackupctl directly. (refs #3)Chris Wilson2007-04-28
|
* Use quiet mode in compares, to reduce test output verbosity (refs #3)Chris Wilson2007-04-28
|
* Format messages within test to make them more obvious, and improveChris Wilson2007-04-28
| | | | | readability of test output. (refs #3)
* Test that bbackupd and bbstored are still running at various points duringChris Wilson2007-04-28
| | | | | the test, and abort early if not. (refs #3)
* Revert to Unix paths (refs #3)Chris Wilson2007-04-28
|
* Listen on an inet socket as well, to keep tests happy on WindowsChris Wilson2007-04-28
| | | | | (refs #3, merges part of [582])
* Fix rare memory leak. (refs #3, merges part of [1514])Chris Wilson2007-04-28
|
* Return an error code on failure of lcd command.Chris Wilson2007-04-28
| | | | | | | Return an error code if get command fails due to the file already existing. (refs #3, merges [1516])
* Use logging framework for banner. (refs #3)Chris Wilson2007-04-28
|
* Remove newline from end of banner text, since logging framework will addChris Wilson2007-04-28
| | | | | it for us where necessary. (refs #3)
* Improve error messages when compare throws an exception. (refs #3)Chris Wilson2007-04-28
|
* Fix bbackupd choosing an invalid (too large) block size for large filesChris Wilson2007-04-28
| | | | | | | (over 2GB) which will cause compare to fail: when rBlockSizeOut == BACKUP_FILE_MAX_BLOCK_SIZE we would have proceeded around the loop one more time and doubled the block size again. (refs #2, refs #3)
* Fix getting files with uncertain size (over 2GB) from the store. FailureChris Wilson2007-04-28
| | | | | | to drain the stream will leave the EOF byte in it, which breaks further communications with the store over the same connection. (refs #2, refs #3)
* Improve error messages when Getting a file fails with an exception.Chris Wilson2007-04-28
| | | | | (refs #3)
* Fix formatting bugs. (refs #3)Chris Wilson2007-04-28
|
* Notify about full file uploads. (refs #3)Chris Wilson2007-04-28
|
* Improve log message for NotifyFileUploading(). (refs #3)Chris Wilson2007-04-28
|
* Don't fork to handle requests when running as a single process (veryChris Wilson2007-04-28
| | | | | useful for debugging). (refs #3)
* Remove comments accidentally left in [1591]. (refs #3)Chris Wilson2007-04-28
|
* Make Daemon remember whether we're supposed to run in a single process,Chris Wilson2007-04-28
| | | | | or not. (refs #3)
* Use ReadLoggingStream to log progress of file uploads. (refs #3)Chris Wilson2007-04-28
|
* Add a stream which logs progress of reading data from another (child)Chris Wilson2007-04-28
| | | | | | stream, and estimated time of completion, useful for upload progress monitoring. (refs #3)
* Keep a copy of the program name, in case the original goes away, whichChris Wilson2007-04-28
| | | | | causes syslog() to write nonsense for the program name. (refs #3)
* Test that PartialReadStream and ReadGatherStream can handle streamsChris Wilson2007-04-28
| | | | | over 2GB in size. (refs #3)
* Fix inability to handle streams over 2GB properly. (refs #3)Chris Wilson2007-04-28
|
* Add a stream which provides a source of zero bytes of arbitrary size,Chris Wilson2007-04-28
| | | | | useful for testing support for files over 2GB. (refs #3)
* Test that locked files behave as expected on Win32 (refs #3, mergesChris Wilson2007-04-22
| | | | | parts of [649], [694], [1461])
* Test that file attributes are backed up and compared correctly on Win32Chris Wilson2007-04-22
| | | | | (refs #3, merges part of 694])
* Compare restored files as part of restore test (refs #3, merges part Chris Wilson2007-04-22
| | | | | of [623])
* Check that Exclude and AlwaysInclude configurations actually work asChris Wilson2007-04-22
| | | | | they should. (refs #3, merges [711])
* Use wait_for_sync_end() to synchronise the test more accurately withChris Wilson2007-04-22
| | | | | bbackupd, hopefully reducing random failures. (refs #3)
* Use Cygwin chmod command-line tool to make the read-only file writableChris Wilson2007-04-22
| | | | | on Win32, instead of our own chmod() (which does nothing). (refs #3)
* Ignore attempts to listen on a Unix socket on Win32, so that we can shareChris Wilson2007-04-22
| | | | | config files for the unit tests (refs #3)
* Use wait_for_sync_end() rather than calling bbackupquery ourselves (refs #3)Chris Wilson2007-04-22
|