summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-12-24 22:32:02 +0100
committerChristian Grothoff <christian@grothoff.org>2019-12-24 22:32:02 +0100
commit6d65457203419b601eacca3dee59a290b9718b62 (patch)
tree4ce7a83868b6fd1b573f002fa53d4022375c24f5
parent0ec3301cfb26e3d5f741389ab2f1f99068b6ed17 (diff)
downloadexchange-6d65457203419b601eacca3dee59a290b9718b62.tar.gz
exchange-6d65457203419b601eacca3dee59a290b9718b62.tar.bz2
exchange-6d65457203419b601eacca3dee59a290b9718b62.zip
tolerate database not existing, skip test
-rw-r--r--src/pq/test_pq.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pq/test_pq.c b/src/pq/test_pq.c
index 2ed1873a..13aa1f16 100644
--- a/src/pq/test_pq.c
+++ b/src/pq/test_pq.c
@@ -186,6 +186,8 @@ main (int argc,
conn = GNUNET_PQ_connect ("postgres:///talercheck",
es,
NULL);
+ if (NULL == conn)
+ return 77;
if (GNUNET_OK !=
postgres_prepare (conn))
{