diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-12-24 22:32:02 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-12-24 22:32:02 +0100 |
commit | 6d65457203419b601eacca3dee59a290b9718b62 (patch) | |
tree | 4ce7a83868b6fd1b573f002fa53d4022375c24f5 /src | |
parent | 0ec3301cfb26e3d5f741389ab2f1f99068b6ed17 (diff) |
tolerate database not existing, skip test
Diffstat (limited to 'src')
-rw-r--r-- | src/pq/test_pq.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pq/test_pq.c b/src/pq/test_pq.c index 2ed1873a5..13aa1f162 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)) { |