summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* (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
| | | | | | Added a RunCommand() function which converts UNIX paths to native before calling ::system() on Win32.
* (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-02
| | | | | Convert UNIX paths to native on Win32 (avoids #ifdefs in tests)
* (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
* (refs #3)Chris Wilson2006-09-01
| | | | | Completely disable symlink test on Win32
* (refs #3)Chris Wilson2006-09-01
| | | | | Close open file handles on Win32
* (refs #3)Chris Wilson2006-09-01
| | | | | | Use CopyFile to copy on Windows, instead of shelling out to cp, which doesn't understand native paths.
* (refs #3)Chris Wilson2006-09-01
| | | | | 64-bit format string fixes for Win32
* (refs #3)Chris Wilson2006-09-01
| | | | | Use truncation/sparse files to quickly create files with 200MB of zeroes
* Revert to trunkChris Wilson2006-09-01
|
* (refs #3)Chris Wilson2006-08-31
| | | | | | | | | | | | | 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.
* Revert to trunkChris Wilson2006-08-31
|
* (refs #3)Chris Wilson2006-08-31
| | | | | Added support for non-blocking sockets on Win32 as well
* Revert to trunkChris Wilson2006-08-31
|
* Use INVALID_SOCKET_VALUE instead of -1Chris Wilson2006-08-31
|
* Revert to trunkChris Wilson2006-08-31
|
* (refs #3)Chris Wilson2006-08-31
| | | | | | Define a suitable constant for invalid socket handles, for use in SocketStream.cpp
* Revert to trunkChris Wilson2006-08-31
|
* (refs #3)Chris Wilson2006-08-31
| | | | | | | | 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.
* Revert to trunkChris Wilson2006-08-31
|
* (refs #3)Chris Wilson2006-08-31
| | | | | 64-bit format fixes (Win32)
* Revert to trunkChris Wilson2006-08-31
|
* (refs #3)Chris Wilson2006-08-31
| | | | | | | Initialise Windows sockets automatically for all daemons on Win32 Write PID files on Win32
* Revert to trunkChris Wilson2006-08-31
|
* (refs #3)Chris Wilson2006-08-31
| | | | | | | | | | | 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.
* Revert to trunkChris Wilson2006-08-31
|
* (refs #3)Chris Wilson2006-08-31
| | | | | | | Don't include headers that we don't have Open RAID files in binary mode
* Revert to trunkChris Wilson2006-08-31
|
* Disable all calls to set*id() on Win32 (doesn't work) (refs #3)Chris Wilson2006-08-31
|
* Revert to trunkChris Wilson2006-08-31
|
* Revert to trunkChris Wilson2006-08-31
|
* Add O_BINARY to default flags, since most files opened this way shouldChris Wilson2006-08-31
| | | | | be opened in binary mode on Win32 (refs #3)
* Revert to trunkChris Wilson2006-08-31
|
* Make FDGETLINE_BUFFER_SIZE big enough for one unicode character on Win32,Chris Wilson2006-08-31
| | | | | | otherwise reading from console can fail due to insufficient buffer size. (refs #3)
* Revert to trunkChris Wilson2006-08-31
|
* Disable intercept tests on Win32 as wellChris Wilson2006-08-31
| | | | | | | | Define O_BINARY to 0 (zero) if our platform doesn't have it (all except Win32?) which enables us to reduce #ifdefs (refs #3)
* Revert to trunkChris Wilson2006-08-31
|
* Use DIRECTORY_SEPARATOR instead of assuming that it's a forward slashChris Wilson2006-08-31
| | | | | (refs #3)