diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2012-06-18 22:30:28 +0930 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2012-06-19 05:38:06 +0200 |
commit | d48f6f884b2789828bb183249faf3918ec4e363a (patch) | |
tree | 02edec2ab04078ee14ee11693fc9c40073e39c9c /lib/ntdb | |
parent | 5027f9cd02bf322498313a6b7aabd03fd510d725 (diff) | |
download | samba-d48f6f884b2789828bb183249faf3918ec4e363a.tar.gz samba-d48f6f884b2789828bb183249faf3918ec4e363a.tar.bz2 samba-d48f6f884b2789828bb183249faf3918ec4e363a.zip |
ntdb: print \n at end of log messages in tests.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'lib/ntdb')
-rw-r--r-- | lib/ntdb/test/tap-interface.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ntdb/test/tap-interface.h b/lib/ntdb/test/tap-interface.h index f3d4ec2545..9df64a16cb 100644 --- a/lib/ntdb/test/tap-interface.h +++ b/lib/ntdb/test/tap-interface.h @@ -37,5 +37,5 @@ extern unsigned tap_ok_count, tap_ok_target; #define ok1(e) ok((e), "%s:%s", __location__, #e) #define pass(...) (printf("."), tap_ok_count++) #define fail(...) warnx(__VA_ARGS__) -#define diag printf +#define diag(...) do { printf(__VA_ARGS__); printf("\n"); } while(0) #define exit_status() (tap_ok_count == tap_ok_target ? 0 : 1) |