| Commit message (Collapse) | Author | Age |
|
|
|
|
| |
Fix format strings on Win32
|
|
|
|
|
| |
Initialise Windows sockets on Win32
|
| |
|
|
|
|
|
| |
Call RunCommand() instead of ::system to handle native paths better
|
|
|
|
|
|
| |
Added a RunCommand() function which converts UNIX paths to native before
calling ::system() on Win32.
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Convert UNIX paths to native on Win32 (avoids #ifdefs in tests)
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use strict and warnings for code safety.
Exit with status 2 on invalid usage.
Allow running multiple tests, comma separated.
Exit with status 2 if make fails for any test.
Exit with status 1 if any test fails.
|
| |
|
|
|
|
|
| |
Added support for non-blocking sockets on Win32 as well
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Define a suitable constant for invalid socket handles, for use in
SocketStream.cpp
|
| |
|
|
|
|
|
|
|
|
| |
Added an OnIdle method which can be overridden by subclasses for idle
tasks. Used for housekeeping on Win32.
Avoid forking on Win32, and trying to clean up after children.
|
| |
|
|
|
|
|
| |
64-bit format fixes (Win32)
|
| |
|
|
|
|
|
|
|
| |
Initialise Windows sockets automatically for all daemons on Win32
Write PID files on Win32
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Open files in binary mode (Win32)
Disable the lock failure block when we don't have any locking mechanism
Close and delete files before renaming over them on Win32. This breaks
Ben's desired recovery semantics, so it's not done on other platforms,
but Win32 requires it.
|
| |
|
|
|
|
|
|
|
| |
Don't include headers that we don't have
Open RAID files in binary mode
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
be opened in binary mode on Win32 (refs #3)
|
| |
|
|
|
|
|
|
| |
otherwise reading from console can fail due to insufficient buffer size.
(refs #3)
|
| |
|
|
|
|
|
|
|
|
| |
Define O_BINARY to 0 (zero) if our platform doesn't have it (all except
Win32?) which enables us to reduce #ifdefs
(refs #3)
|
| |
|
|
|
|
|
| |
(refs #3)
|