summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAge
...
* Rearrange #includes in alphabetical order. (refs #3)Chris Wilson2007-04-20
|
* Check return value using the macro, because ::system works differentlyChris Wilson2007-04-06
| | | | | on Windows than on Unix (refs #3, merges part of [623])
* Use the old way to unzip files on win32/cygwin, since the pipe method Chris Wilson2007-04-06
| | | | | doesn't seem to work here. (refs #3, merges part of [623])
* Disable interrupted restore test on Win32 (uses fork) Chris Wilson2007-04-06
| | | | | (refs #3, merges part of [623])
* Disable symlink tests on win32. (refs #3, merges part of [623])Chris Wilson2007-04-02
|
* Test for restoring to a directory whose parent does not exist Chris Wilson2007-04-01
| | | | | (refs #3, merges [517])
* Only include headers on systems which have themChris Wilson2007-03-25
|
* Win32 fixes (paths to executables, and don't try things that don't workChris Wilson2007-03-25
| | | | | on Windows, like sending HUP signals) (refs #3)
* Close RaidFile before committing, so that commit can work on win32.Chris Wilson2007-03-25
| | | | | | | Typo fix. (refs #3)
* Use #defined paths for executables to remove win32/unix differences.Chris Wilson2007-03-25
| | | | | (refs #3)
* Fix spurious/suprious typos.Chris Wilson2007-03-25
| | | | | | | | | | | Use #defined paths for executables to remove win32/unix differences. Don't check for bbstored memory leaks on win32. Wrap long lines for readability. (refs #3)
* Use #defined paths for applications to fix cross unix/win32 compatibility.Chris Wilson2007-03-25
| | | | | | | | | Fix memory leak. Reformat comments. (refs #3)
* 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