| Commit message (Collapse) | Author | Age |
|
|
|
| |
Should hopefully fix compile on other platforms.
|
|
|
|
|
|
|
| |
Update getversion.pl to work when run from CMake.
Update modules.txt to give our CMake configuration the necessary dependency
information.
|
|
|
|
| |
Fix calls to Uname on platforms that don't have it, such as MSVC.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Attempt to cache the openssl compiled files to speed up build.
|
|
|
|
|
| |
Fix location of ClientException.txt.
|
|
|
|
|
|
| |
Ensures that GCC DLLs are on the path, so that test executables will run.
Also run debug tests as well as release tests.
|
| |
|
| |
|
|
|
|
| |
We should never fail to return something from a non-void function.
|
|
|
|
|
|
| |
Hopefully should allow previous compilation results to be cached, when combined
with not running ./Configure if the Makefile already exists.
|
|
|
|
|
| |
Automates the instructions found in docs/api-notes/win32_build_on_cygwin_using_mingw.txt.
|
|
|
|
|
|
|
| |
Refactor all common code from testbbackupd and testbackupstore to allow other
test suites to contain multiple tests and execute selected tests more easily.
Report all test results within a suite in a standard, easy to read summary.
|
| |
|
| |
|
|
|
|
|
|
| |
Allows us to match 32/64-bit specific targets in parcels.txt.
Add support for variable substitution in parcels.txt.
|
|
|
|
|
| |
I needed reliable exit codes to run the tests in a loop to catch an
intermittent failure.
|
|
|
|
|
| |
Also tidy up some whitespace to shut vim up.
|
| |
|
| |
|
| |
|
|
|
|
| |
Add install-sh script, needed by AC_CONFIG_SUBDIRS for some reason.
|
|
|
|
|
| |
Look for libraries in the right directory, and pass the right --host
option to the configure script.
|
| |
|
|
|
|
|
|
| |
Logging anything while checking for open file descriptors can reopen the
syslog connection that was closed before, resulting in a false positive.
|
|
|
|
|
| |
Refactor code to select which make is used for readability.
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
Now that we've removed it from version control, we need to build it from
configure.in as part of bootstrapping Box Backup.
|
|
|
|
| |
Merged back changes from the test refactor branch to reduce diffs.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
It's incompatible with having a logger that logs everything, regardless of
the global log level.
|
| |
|
|
|
|
|
|
| |
Fix erroneous detection of leaked file descriptors by closing syslog before
compiling the initial list of file descriptors.
|
| |
|
|
|
|
| |
Helps to find the right file when looking at a failed build output.
|
|
|
|
| |
Make the release and debug options more similar.
|
|
|
|
| |
Otherwise we might detect the opened syslog socket as a leaked file descriptor.
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
| |
include them, to fix compile on Windows.
|
|
|
|
|
| |
libraries, to avoid adding duplicate libraries to LIBS.
|