| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
| |
(refs #3, depends on [1378])
|
|
|
|
|
| |
(refs #3)
|
| |
|
|
|
|
|
| |
our internal daemon test code will compile.
|
|
|
|
|
| |
#3, refs #9)
|
|
|
|
|
|
| |
since sleep() may use signals and interfere with SIGALRM, and also
cannot be resumed if interrupted by a signal. (refs #3, refs #9).
|
|
|
|
|
| |
refs #9)
|
|
|
|
|
| |
Added test for repeat keepalives to test/bbackupd.
|
|
|
|
|
| |
(refs #3, refs #9)
|
| |
|
|
|
|
|
| |
test/bbackupd as well (refs #3)
|
| |
|
|
|
|
|
| |
(refs #9)
|
|
|
|
|
|
| |
standard libraries, free it before the memleak tests, to avoid test
failures (refs #3)
|
| |
|
| |
|
|
|
|
|
| |
infrastructure/buildenv-testmain-template.cpp) (refs #3)
|
| |
|
|
|
|
|
| |
auto-generated with substitutions. (refs #3)
|
|
|
|
|
| |
compare error (unreadable files) patch is merged. (refs #3)
|
|
|
|
|
| |
(refs #3)
|
| |
|
|
|
|
|
|
|
| |
* Added InvisibleTempFileStream class and unit tests for it
* Use InvisibleTempFileStream instead of FileStream for temporary files
(refs #3)
|
|
|
|
|
| |
Sleep without nanosleep() on Win32
|
| |
|
|
|
|
|
| |
Use RunCommand instead of ::system to convert UNIX paths to native
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
Cannot signal bbstored to housekeep immediately on Win32, so just wait
for it to happen.
|
|
|
|
|
| |
Fix format strings on Win32
|
|
|
|
|
| |
Initialise Windows sockets on Win32
|
| |
|
|
|
|
|
| |
Call RunCommand() instead of ::system to handle native paths better
|
|
|
|
|
| |
Remove newlines from output to avoid failure to recognise it on Win32
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Disable symlink tests on Win32
|
|
|
|
|
| |
Use correct directory separator everywhere
|
|
|
|
|
| |
We cannot open multiple connections to the server on Win32, so work around.
|
|
|
|
|
|
|
| |
Close before unlink
Check that unlink succeeds
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Cosmetic fixes to comments
|
|
|
|
|
| |
Completely disable symlink test on Win32
|
|
|
|
|
| |
Close open file handles on Win32
|
|
|
|
|
|
| |
Use CopyFile to copy on Windows, instead of shelling out to cp, which
doesn't understand native paths.
|
|
|
|
|
| |
64-bit format string fixes for Win32
|
|
|
|
|
| |
Use truncation/sparse files to quickly create files with 200MB of zeroes
|
| |
|
|
|
|
|
|
|
| |
- This is my current patch queue. I think that all of these are safe
to apply. This is just under half of the pending changes in
chris/general (the easy half).
|