summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAge
* Add autogen_ClientException.o to testbbackupd extra objects, because itChris Wilson2007-03-24
| | | | | links against bbackupd objects which need this. (refs #3, merges [1456])
* Test that bbackupd reports an error when the backup failed due to anChris Wilson2007-03-22
| | | | | exception (refs #3)
* Use unique name for compare log (refs #3)Chris Wilson2007-03-22
|
* Flush stdout after writing to it (refs #3)Chris Wilson2007-03-22
|
* Test expected behaviour for modifying a file without changing its modtime,Chris Wilson2007-03-22
| | | | | both tracked and untracked (refs #3)
* Improve output messages when waiting for daemon to start (refs #3)Chris Wilson2007-03-22
|
* Simplify wait code (refs #3)Chris Wilson2007-03-22
|
* 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)
* Check for return code 3 (unreadable files) instead of return code 2Chris Wilson2007-03-10
| | | | | (refs #3, depends on [1378])
* Check for exclude entries that end in a path separator, and log a warningChris Wilson2007-01-16
| | | | | (refs #3)
* Compile fix for platforms without intercept capability (refs #3)Chris Wilson2006-12-29
|
* Added missing Makefile.extra to link against bbackupd objects, so that Chris Wilson2006-12-14
| | | | | our internal daemon test code will compile.
* Fixed a race condition caused by rescheduling in signal handler (refs Chris Wilson2006-12-03
| | | | | #3, refs #9)
* Make the timer test reliable by using nanosleep() instead of sleep(), Chris Wilson2006-12-03
| | | | | | since sleep() may use signals and interfere with SIGALRM, and also cannot be resumed if interrupted by a signal. (refs #3, refs #9).
* Added tests for keepalives while scanning large directories. (refs #3, Chris Wilson2006-12-03
| | | | | refs #9)
* Added ability for delay intercepts to fire multiple times.Chris Wilson2006-11-28
| | | | | Added test for repeat keepalives to test/bbackupd.
* Added a test for diff termination if MaximumDiffingTime is exceeded Chris Wilson2006-11-27
| | | | | (refs #3, refs #9)
* Added test for keepalives being sent (refs #9)Chris Wilson2006-11-26
|
* Moved intercept code to a library module to allow it to be used by Chris Wilson2006-11-26
| | | | | test/bbackupd as well (refs #3)
* Fix memory leak false alarms caused by modifying static objects (refs #3)Chris Wilson2006-11-13
|
* Added tests for timers with zero interval, which should never expire Chris Wilson2006-11-13
| | | | | (refs #9)
* Fix scoping to ensure that objects which allocate memory via the Chris Wilson2006-11-13
| | | | | | standard libraries, free it before the memleak tests, to avoid test failures (refs #3)
* Added generic timer support classChris Wilson2006-11-06
|
* Remove double initialisation of winsock library. (refs #3)Chris Wilson2006-10-27
|
* Remove double initialisation (now done in Chris Wilson2006-10-27
| | | | | infrastructure/buildenv-testmain-template.cpp) (refs #3)
* Improved debugging when creation of sparse files fails. (refs #3)Chris Wilson2006-10-16
|
* Add test/bbackupd/testfiles/syncallowscript.pl to the list of Perl filesChris Wilson2006-10-16
| | | | | auto-generated with substitutions. (refs #3)
* Change test for return code 3 back to 2, until or unless the bbackupqueryChris Wilson2006-10-15
| | | | | compare error (unreadable files) patch is merged. (refs #3)
* Added tests for case-insensitive matching in exclude lists on Win32.Chris Wilson2006-10-15
| | | | | (refs #3)
* Compile fix (refs #3)Chris Wilson2006-10-15
|
* * Added support for Win32 temporary filesChris Wilson2006-10-13
| | | | | | | * Added InvisibleTempFileStream class and unit tests for it * Use InvisibleTempFileStream instead of FileStream for temporary files (refs #3)
* (refs #3)Chris Wilson2006-09-02
| | | | | Sleep without nanosleep() on Win32
* Revert to trunkChris Wilson2006-09-02
|
* (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
|
* (refs #3)Chris Wilson2006-09-02
| | | | | Call RunCommand() instead of ::system to handle native paths better
* (refs #3)Chris Wilson2006-09-02
| | | | | Remove newlines from output to avoid failure to recognise it on Win32
* Revert to trunkChris Wilson2006-09-02
|
* (refs #3)Chris Wilson2006-09-02
| | | | | | | | | | Disable tests for memory leaks after killing bbstored on Win32, since it dies forcibly without a chance to write the memory leak file. Initialise Windows sockets on Win32 Add tests for multiply open files on Win32
* (refs #3)Chris Wilson2006-09-01
| | | | | Disable symlink tests on Win32
* (refs #3)Chris Wilson2006-09-01
| | | | | Use correct directory separator everywhere
* (refs #3)Chris Wilson2006-09-01
| | | | | We cannot open multiple connections to the server on Win32, so work around.
* (refs #3)Chris Wilson2006-09-01
| | | | | | | Close before unlink Check that unlink succeeds
* Revert to trunkChris Wilson2006-09-01
|
* (refs #3) Chris Wilson2006-09-01
| | | | | | | | | This test takes a long time on Win32 (slow file access? VMware?), so: * Disable verbose debug logging, which makes it even slower * Print a warning before the slow test starts * Increase timeout
* (refs #3)Chris Wilson2006-09-01
| | | | | Cosmetic fixes to comments