1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-06 13:18:07 +03:00
samba-mirror/lib/tdb/test/logging.h
Rusty Russell 8fa345d952 tdb: wean CCAN-style unit tests off of tap.
We could use subunit, but that's overkill.  Just print messages when
we fail, and use exit status.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2012-02-14 14:45:19 +10:30

12 lines
264 B
C

#ifndef TDB_TEST_LOGGING_H
#define TDB_TEST_LOGGING_H
#include "replace.h"
#include "../include/tdb.h"
#include <stdbool.h>
extern bool suppress_logging;
extern const char *log_prefix;
extern struct tdb_logging_context taplogctx;
#endif /* TDB_TEST_LOGGING_H */