Browse Source

wallet/tests: add mocks for futureproofing.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ppa-0.6.1
Rusty Russell 7 years ago
committed by Christian Decker
parent
commit
005f3826c9
  1. 3
      wallet/test/run-db.c
  2. 3
      wallet/test/run-wallet.c

3
wallet/test/run-db.c

@ -10,6 +10,9 @@ static void db_fatal(const char *fmt, ...);
#include <stdio.h> #include <stdio.h>
#include <unistd.h> #include <unistd.h>
/* AUTOGENERATED MOCKS START */
/* AUTOGENERATED MOCKS END */
static char *db_err; static char *db_err;
static void db_fatal(const char *fmt, ...) static void db_fatal(const char *fmt, ...)
{ {

3
wallet/test/run-wallet.c

@ -14,6 +14,9 @@ static void wallet_fatal(const char *fmt, ...);
#include <stdio.h> #include <stdio.h>
#include <unistd.h> #include <unistd.h>
/* AUTOGENERATED MOCKS START */
/* AUTOGENERATED MOCKS END */
static char *wallet_err; static char *wallet_err;
static void wallet_fatal(const char *fmt, ...) static void wallet_fatal(const char *fmt, ...)
{ {

Loading…
Cancel
Save