summaryrefslogtreecommitdiff
path: root/infrastructure
Commit message (Collapse)AuthorAge
...
* Add a note about why fixing NetBSD's kqueue support is harder than it looks.Chris Wilson2014-12-15
|
* Refactor file descriptor checks to avoid false alarms on NetBSD.Chris Wilson2014-12-12
| | | | | | Logging anything while checking for open file descriptors can reopen the syslog connection that was closed before, resulting in a false positive.
* Fix build on Solaris 11/SmartOS by using bmake.Chris Wilson2014-12-07
| | | | | Refactor code to select which make is used for readability.
* Fix detection of filesystems without extended attribute support on NetBSD.Chris Wilson2014-12-06
| | | | | | | | | | | NetBSD (version 6) uses ENOTSUP as the errno code to indicate missing support for extended attribute in the filesystem. This appears to be at odds with other Unixes: https://mail-index.netbsd.org/tech-kern/2011/12/13/msg012185.html We need to detect and handle ENOTSUP to stop the backup daemon from killing itself while trying to read extended attributes from the first file in the backup set.
* Fix missing include of sys/socket.h to find struct ucred on Linux.Chris Wilson2014-12-06
|
* Check for existence of netdb.h for conditional inclusion.Chris Wilson2014-12-06
|
* Remove unused code.Chris Wilson2014-12-06
|
* Workaround for old gnu tar, failing to restore timestamps on symlinks.Chris Wilson2014-12-06
| | | | | | | | | | | | | | | Older versions of GNU tar fail to set the timestamps on symlinks, which makes them appear too recent/new to be backed up immediately, causing test_bbackupd_uploads_files() for example to fail. Fixed by restoring the timestamps manually after extracting the fixture archive. For more details about the issue in tar, please see: http://lists.gnu.org/archive/html/bug-tar/2009-08/msg00007.html http://git.savannah.gnu.org/cgit/tar.git/plain/NEWS?id=release_1_24 This resulted in symlinks in fixture test files
* Add support for getsockopt(SO_PEERCRED) on OpenBSD 5.2.Chris Wilson2014-12-06
| | | | | | | | | | | OpenBSD requires different headers to be included, including a bug which makes it essential to include sys/param.h before sys/ucred.h, and gives the fields of struct ucred different names than Linux does. This fixes compilation on OpenBSD and allows the user connecting to a UNIX socket to be checked, increasing security of the command socket on this platform.
* Generate configure script in qdbm directory.Chris Wilson2014-12-01
| | | | | | Now that we've removed it from version control, we need to build it from configure.in as part of bootstrapping Box Backup.
* Add support for all logging options in test executables.Chris Wilson2014-09-04
| | | | Merged back changes from the test refactor branch to reduce diffs.
* Backport Timers::Cleanup that's safe to use in test cleanup.Chris Wilson2014-09-04
| | | | | | | | | | Allows it not to throw an exception if timers weren't initialised when cleanup was requested. Normally we want an exception thrown, but not while we're cleaning up a test that might have failed with timers uninitialised. More timers fixes after cleanup no-exception option. Merged back changes from the test refactor branch to reduce diffs.
* Remove the global logging level.Chris Wilson2014-04-09
| | | | | It's incompatible with having a logger that logs everything, regardless of the global log level.
* Support microsecond timestamps for files on Linux.Chris Wilson2014-04-09
|
* Fix compile error caused by missing std::list prototype.Chris Wilson2014-02-07
| | | | | | Fix erroneous detection of leaked file descriptors by closing syslog before compiling the initial list of file descriptors.
* Allow running only named tests in test suites that support it.Chris Wilson2014-02-07
|
* Show module name of each file when compiling.Chris Wilson2014-02-07
| | | | Helps to find the right file when looking at a failed build output.
* Compile debug builds with glibc debugging containers.Chris Wilson2014-02-07
| | | | Make the release and debug options more similar.
* Close syslog before checking for files left open in tests.Chris Wilson2014-02-07
| | | | Otherwise we might detect the opened syslog socket as a leaked file descriptor.
* Fix getopt header confusion.Chris Wilson2013-09-30
| | | | | | | | Our copy of getopt.h in lib/win32 was beating the system getopt.h in the search path, and providing different definitions, which clang picked up. Renamed our getopt.h to bsd_getopt.h, and added a box_getopt.h to decide whether to include this one instead of the system getopt.h.
* Add support for the -W option to test runner executable.Chris Wilson2013-08-21
|
* We need rm -f to remove read-only files from .svn directory copies in testfiles.Chris Wilson2012-11-15
|
* Don't use getpeername(), sys/socket.h or sys/un.h on platforms that don'tChris Wilson2012-11-14
| | | | | include them, to fix compile on Windows.
* Use AC_SEARCH_LIBS instead of AC_CHECK_LIB when searching for SSLChris Wilson2012-11-14
| | | | | libraries, to avoid adding duplicate libraries to LIBS.
* Use AC_SEARCH_LIBS instead of AC_CHECK_LIB to search for EVP_CipherInit_ex,Chris Wilson2012-11-14
| | | | | | | | | | | | as it should already be in LIBS by this point and we don't really want to add a duplicate if we don't need it. http://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/html_node/Libraries.html also recommends the use of AC_SEARCH_LIBS instead. Check whether we have getpeername() and sys/un.h to fix compile errors on Windows with /dev/log fd leak test.
* Request linker to statically link libz.a, since the default now appears toChris Wilson2012-11-14
| | | | | | | | | be dynamic linking, and that stops the tests from working since they can't find zlib-1.dll in the PATH. Remove redundant LIBS that should already be detected and used by the m4 configury.
* Don't flag an error if the only sockets "leaked" are syslog sockets.Chris Wilson2012-11-08
|
* Check for /dev/log and don't report if fds to it are leaked.Chris Wilson2012-11-08
|
* Update MSVC 2010 project to match recent changes to file locations.Chris Wilson2012-07-20
|
* Fix BuildPlatform.pm for Mac OS X 10.7+ and Xcode >= 4.James O'Gorman2012-05-24
| | | | | Xcode 4 no longer includes bsdmake so only try to use this if xcodebuild -version is less than 4.
* Check for -lcrypto before -lssl, to ensure correct order in LIBS and ↵Chris Wilson2012-04-28
| | | | successful link.
* Move libdl tests before boxbackup tests in configure.ac to fix OpenSSL link ↵Chris Wilson2012-04-28
| | | | errors.
* Hopefully fix TcpNice setsockopt/struct tcp_info compile errors on Windows.Chris Wilson2012-03-16
|
* Add experimental "TCP Nice" mode, disabled by default.Chris Wilson2012-02-12
|
* Set console log level as well as global level in tests.Chris Wilson2012-02-02
|
* Print the message of the exception that caused a test to fail.Chris Wilson2012-01-22
|
* Patch to support building on MinGW, thanks to Paolo ToscoChris Wilson2011-10-17
| | | | | (http://open3dalign.org, http://open3dqsar.org)
* Make libbackupstore depend on common, so common can generate BoxVersion.h firstChris Wilson2011-10-11
|
* Switch back from custom build step to pre-build event, as the custom step ↵Chris Wilson2011-10-11
| | | | just doesn't work
* Don't die if BoxVersion.h doesn't exist yet.Chris Wilson2011-10-11
|
* Search for libraries in the path where Cygwin installs MinGW zlib as wellChris Wilson2011-10-09
|
* Check for libz.dll.a installed in new location before configuring forChris Wilson2011-10-09
| | | | | MinGW.
* Pass the correct LDFLAGS to Box Backup, to use mingw zlib instead of cygwin,Chris Wilson2011-10-09
| | | | | | copied from new Boxi config. Thanks to Achim for finding this and testing the fix.
* Extra white space.Chris Wilson2011-10-09
|
* Silence warnings from new MinGW headers that expect __MINGW_FEATURES__Chris Wilson2011-10-08
| | | | | | | | to be defined. Check for fcntl.h and include it if we have it, not just on MSVC, now that MinGW also defines O_BINARY in newer versions.
* Rephrase -rdynamic message.Chris Wilson2011-10-07
|
* Skip -rdynamic on cygwin as well as Solaris.Chris Wilson2011-10-05
|
* Don't regenerate zipped manpages unless needed.Chris Wilson2011-09-25
|
* Move Box Backup's custom tests into own file, to share with Boxi.Chris Wilson2011-09-25
|
* Update MSVC project for new names of protocol files.Chris Wilson2011-08-28
|