Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Fix another test failure on Windows caused by holding files open. | Chris Wilson | 2015-05-16 |
| | |||
* | Include full platform name in parcels, to distinguish 64-bit builds. | Chris Wilson | 2015-05-16 |
| | |||
* | Fix test script to match change to autoconf variable names. | Chris Wilson | 2015-05-16 |
| | |||
* | Fix error reporting from Reg* functions. | Chris Wilson | 2015-05-16 |
| | | | | | | Unlike the rest of the Win32 API, these functions return their error code, and it's not accessible using GetLastError(). Thanks to Enrique Perez-Terron for reporting this issue. | ||
* | Use variable substitution to avoid hard-coding paths to DLLs on Windows. | Chris Wilson | 2015-05-16 |
| | | | | | Add DLLs used by mingw64 gcc, used by recent Cygwin installations, and update to current name of zlib1.dll. | ||
* | Allow matching parcel platforms on cpu-vendor and os-cpu-vendor. | Chris Wilson | 2015-05-16 |
| | | | | | | Allows us to match 32/64-bit specific targets in parcels.txt. Add support for variable substitution in parcels.txt. | ||
* | Fix test failures on Windows caused by keeping files open too long. | Chris Wilson | 2015-05-16 |
| | | | | | | Once again, the Windows issue of being unable to delete or overwrite an open file causes issues. In this case it's only test failures. We need to be diligent about closing open file handles and protocol sessions in tests. | ||
* | Improve exception message when unlink() on a raidfile stripe fails | Chris Wilson | 2015-05-16 |
| | |||
* | Use FileModificationTime instead of raw stat() on Windows. | Chris Wilson | 2015-05-16 |
| | | | | | | | | | | | Fixes test failures caused by using seconds since epoch on Windows, instead of a box_time_t, and rounding it to the nearest 10^6, which is fine for a box_time_t (all other platforms), but 10^6 seconds is a rather long time to ignore changes for on Windows. This also makes it possible to support subsecond precision on Windows via FileModificationTime() in future, and have RaidFile detect such subsecond changes. | ||
* | Fix NamedLock release on Windows. | Chris Wilson | 2015-05-16 |
| | | | | | | On Windows we can't delete the file while it's open, and we don't need to, because we opened it for exclusive use, so another process can't lock it between us unlocking and deleting it. | ||
* | Fix missing account lock while checking for errors. | Chris Wilson | 2015-05-06 |
| | | | | | | | | | | | The old assertion, that the write lock file exists before starting checking, was erroneously passing before when no lock was held, because the lockfile was never deleted. Now that we delete it when unlocking the account, this started causing test failures. Changed the way that accounts are checked for errors to use a function that acquires a write lock first, and modified test to disconnect open clients before starting checking the account, to fix it. | ||
* | Fix lock race condition by unlinking before closing the file handle. | Chris Wilson | 2015-05-04 |
| | |||
* | Add extra logging for acquiring and releasing NamedLocks. | Chris Wilson | 2015-05-04 |
| | |||
* | Add command-line option to limit log messages to certain file(s). | Chris Wilson | 2015-05-04 |
| | | | | | E.g. you can run with -L NamedLock.cpp to only show messages logged in that file. You can also repeat it to only show messages from certain files. | ||
* | Fix minor test problem caused by not deleting a file between tests. | Chris Wilson | 2015-05-04 |
| | |||
* | Fix tests failing because they can't delete the lock file. | Chris Wilson | 2015-05-04 |
| | | | | Deleting the account deletes the lockfile, so unlocking fails. | ||
* | Fix system exit codes from tests, so we can use them in the shell. | Chris Wilson | 2015-05-04 |
| | | | | | I needed reliable exit codes to run the tests in a loop to catch an intermittent failure. | ||
* | Define BOX_SOCKET_ERROR_MESSAGE, replace more BOX_LOG_SOCKET_ERROR calls ↵ | Chris Wilson | 2015-04-15 |
| | | | | with it. | ||
* | Update compilation instructions for Windows. | Chris Wilson | 2015-04-15 |
| | |||
* | Use THROW_EXCEPTION_MESSAGE macro to save a message in exceptions. | Chris Wilson | 2015-04-15 |
| | |||
* | Add ability to run commands in context with TEST_CHECK_THROWS_AND_OR. | Chris Wilson | 2015-04-15 |
| | | | | | Allows the exception message to be captured before it goes out of scope. | ||
* | Add a static GetMessage() to get exception message for a known subtype code. | Chris Wilson | 2015-04-15 |
| | |||
* | Fix file locking on Windows. | Chris Wilson | 2015-04-13 |
| | | | | | NamedLock simply didn't work before. This may cause test failures, but the tests are already failing on Windows, and must be fixed. | ||
* | Fix warning caused by saving a const string in a non-const pointer | Chris Wilson | 2015-04-06 |
| | |||
* | Fix test failures caused by failure to commit the temporary refcount DB. | Chris Wilson | 2015-04-06 |
| | | | | Files need to be closed before renaming over them on Windows. | ||
* | Improve error logging in win32 emu library. | Chris Wilson | 2015-04-06 |
| | | | | | | Consistently capture the last Windows error code in the global variable winerrno. Add logging macros that report the Windows error message for this error code. | ||
* | Hopefully fix clang detection on Travis. | Chris Wilson | 2015-04-06 |
| | | | | | Travis clang reports its version as "clang version 3.4 (tags/RELEASE_34/final)", unlike "Ubuntu clang version 3.3-5ubuntu4~precise1". | ||
* | Catch setitimer() failure, throw exceptions with descriptive messages in ↵ | Chris Wilson | 2015-04-06 |
| | | | | Timer.cpp. | ||
* | Show compiler version for clang compile flags debugging | Chris Wilson | 2015-04-06 |
| | |||
* | Whitespace and semicolon-after-macro fixes. | Chris Wilson | 2015-04-06 |
| | |||
* | Add missing timeouts to Archive reads. | Chris Wilson | 2015-04-06 |
| | | | | Allows Archive to be used safely on network streams. | ||
* | Fix build on OS X >= 10.9, which uses GNU Make. | James O'Gorman | 2015-02-28 |
| | | | | | Also tidy up some whitespace to shut vim up. | ||
* | More Travis config updates. | James O'Gorman | 2015-02-27 |
| | | | | | | Install some more dependencies. Update the build script to be a single line so that it fails appropriately. | ||
* | Fix test_ssl_keepalives to not depend on directory listing order. | Chris Wilson | 2015-02-27 |
| | |||
* | Update Travis build configuration. | James O'Gorman | 2015-02-27 |
| | | | | | | Install LWP to fix httpserver tests. Only attempt to build the master branch. | ||
* | Fix testbackupstorefix in release mode. | Chris Wilson | 2015-02-27 |
| | | | | | | It was checking for raidfiles files that have different filenames in release and debug builds, and that aren't even deleted by the test in release builds. | ||
* | Fix crash when compiled in release mode caused by refcount not decrementing. | Chris Wilson | 2015-02-26 |
| | | | | | | The call to decrement the refcount was in an ASSERT macro, so compiled out in release mode. | ||
* | Fix compile with clang on platforms other than FreeBSD. | Chris Wilson | 2015-02-25 |
| | |||
* | Fix BOX_SYSLOG macro to provide a category. | Chris Wilson | 2015-02-25 |
| | |||
* | Reduce verbosity of testcommon by hiding some log messages. | Chris Wilson | 2015-02-25 |
| | |||
* | Reduce test output noise by hiding some error messages in tests. | Chris Wilson | 2015-02-25 |
| | | | | | Should make the Travis logs shorter and more readable. | ||
* | Fix test failure caused by logging fd change. | Chris Wilson | 2015-02-23 |
| | | | | | | Logging everything to stdout (so that Windows users can redirect it) causes extra output on stdout that confused the Perl script for this test. | ||
* | Fix testhttpserver, broken by renaming test executables. | Chris Wilson | 2015-02-23 |
| | |||
* | Fix misisng timeouts on network operations. | Chris Wilson | 2015-02-23 |
| | | | | | They cause a lot of noise in the Travis build logs. | ||
* | Update dates. | James O'Gorman | 2015-02-21 |
| | |||
* | Add configuration file for Travis-CI. | James O'Gorman | 2015-02-21 |
| | |||
* | Fix test failures caused by renaming the test executable, thanks to Achim ↵ | Chris Wilson | 2015-02-15 |
| | | | | for reporting. | ||
* | Fix missing snapshot path on subsequent locations. | Chris Wilson | 2015-02-01 |
| | | | | | | | | | Thanks to Kai Liebenau for finding and fixing this bug. Also use VssFreeSnapshotProperties instead of rolling our own, also thanks to Kai. This has not been compile tested on Windows. | ||
* | Suppress multiple links warnings for now. | Chris Wilson | 2015-02-01 |
| | |||
* | Add test for hardlink handling. | Chris Wilson | 2015-01-04 |
| |