Debugging a test failure here without GDB is not possible. Dumping a
stack trace gives a good hint.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
#include <assert.h>
+#include "lib/util/fault.h"
+
#include "tests/src/protocol_common_basic.h"
uint8_t BUFFER[1024*1024];
if (protocol_test_iterate_buf[0] != '\0') {
fprintf(stderr, " tag: %s\n", protocol_test_iterate_buf);
}
+ log_stack_trace();
sigaction(SIGABRT, &act, NULL);
abort();
}
bld.SAMBA_SUBSYSTEM('ctdb-protocol-tests-basic',
source=bld.SUBDIR('tests/src',
'protocol_common_basic.c'),
- deps='replace talloc')
+ deps='samba-util replace talloc')
bld.SAMBA_SUBSYSTEM('ctdb-protocol-tests-common',
source=bld.SUBDIR('tests/src',