summaryrefslogtreecommitdiff
path: root/lib/common/Test.h
Commit message (Collapse)AuthorAge
* Pass test options to test daemons.Chris Wilson2007-12-16
|
* Log sleep time and resleeps in safe_sleep (only used in tests).Chris Wilson2007-12-15
|
* Slightly improve output from waiting methods.Chris Wilson2007-12-02
|
* Make sync_and_wait() do what it's supposed to, not just force a sync.Chris Wilson2007-11-04
|
* Move sync helper functions from test/bbackupd to Test.h to share withChris Wilson2007-11-04
| | | | | other tests, particularly test/backupstorefix.
* Compile fix, thanks to Matt Brown (refs #3)Chris Wilson2007-05-02
|
* Merge [1566] from chris/general:Chris Wilson2007-04-22
| | | | | | | | | Use Sleep() instead of nanosleep again on win32 (lost in merge [1562]). Fix reference to pCommandLine which no longer exists after [1562]. Fix signed/unsigned comparison warning. (refs #3)
* Display file and line where memory leak test failed. (refs #3)Chris Wilson2007-04-22
|
* Declare global std::string variables that hold extra arguments forChris Wilson2007-04-22
| | | | | | | | | | | | | executables run in tests, to be implemented in a follow-up patch. ConvertPaths, LaunchServer and RunCommand all take std::string references instead of char*. Move safe_sleep from test/common to lib/server/Test.h so that all tests can use it. (refs #3)
* Fix unix path to bbstored (refs #3)Chris Wilson2007-03-25
|
* Trivial code simplification. (refs #3, merges [1444])Chris Wilson2007-03-24
|
* Flush stdout when writing to it (refs #3)Chris Wilson2007-03-22
|
* Report file and line of memory leak test failures (refs #3, merges [714])Chris Wilson2007-03-10
|
* 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)
* Record the file and line of first test failure (refs #3, merges [593])Chris Wilson2007-03-08
|
* Improve error message when server fails to start (refs #3)Chris Wilson2007-01-21
|
* Add missing include of <string> header (refs #3)Chris Wilson2006-12-29
|
* Separate ReadPidFile() out from LaunchServer() in test code (refs #9)Chris Wilson2006-11-26
|
* Fixed control reaching end of non-void functions (refs #3)Chris Wilson2006-11-13
|
* Wait longer for server to die in KillServer (takes about 5 seconds on Chris Wilson2006-10-18
| | | | | my box). (refs #3)
* Compile fix. (refs #3)Chris Wilson2006-10-15
|
* (refs #3)Chris Wilson2006-09-02
| | | | | | Added a RunCommand() function which converts UNIX paths to native before calling ::system() on Win32.
* (refs #3)Chris Wilson2006-09-02
| | | | | Convert UNIX paths to native on Win32 (avoids #ifdefs in tests)
* Merge chris/win32/vc2005-compile-fixes @ r455, add infrastructure/msvc to ↵Ben Summers2006-02-13
| | | | distribution
* Merged 210:218 from chris/win32/merge/07-win32-fixes to trunkMartin Ebourne2005-12-12
|
* Fixing up svn:executable properties.Martin Ebourne2005-12-12
| | | | You may need a new checkout to see this.
* Box Backup 0.09 with a few tweeksBen Summers2005-10-14