git.samba.org
/
ddiss
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5027f9c
)
ntdb: print \n at end of log messages in tests.
author
Rusty Russell
<rusty@rustcorp.com.au>
Mon, 18 Jun 2012 13:00:28 +0000
(22:30 +0930)
committer
Rusty Russell
<rusty@rustcorp.com.au>
Tue, 19 Jun 2012 03:38:06 +0000
(
05:38
+0200)
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
lib/ntdb/test/tap-interface.h
patch
|
blob
|
history
diff --git
a/lib/ntdb/test/tap-interface.h
b/lib/ntdb/test/tap-interface.h
index f3d4ec2545f317c0133fb25a4350139ed8c97972..9df64a16cb569b0be3905d618f2386ca5d8beb13 100644
(file)
--- 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)