diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-02-27 02:32:07 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-02-27 02:32:07 +0100 |
commit | eee83a35971446034ac26b9272d9db9bbe7633ee (patch) | |
tree | 291844c713210da6f21c881f3b0e3011bf3ce0af /src/pq | |
parent | 8b3286e953a80cf069271957ec817485ebe5b14e (diff) | |
download | gnunet-eee83a35971446034ac26b9272d9db9bbe7633ee.tar.gz gnunet-eee83a35971446034ac26b9272d9db9bbe7633ee.zip |
first sketch for libgnuentsq test
Diffstat (limited to 'src/pq')
-rw-r--r-- | src/pq/test_pq.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pq/test_pq.c b/src/pq/test_pq.c index 49705103f..b54318110 100644 --- a/src/pq/test_pq.c +++ b/src/pq/test_pq.c | |||
@@ -218,8 +218,8 @@ run_queries (PGconn *conn) | |||
218 | 218 | ||
219 | 219 | ||
220 | int | 220 | int |
221 | main(int argc, | 221 | main (int argc, |
222 | const char *const argv[]) | 222 | const char *const argv[]) |
223 | { | 223 | { |
224 | PGconn *conn; | 224 | PGconn *conn; |
225 | PGresult *result; | 225 | PGresult *result; |
@@ -236,7 +236,7 @@ main(int argc, | |||
236 | PQerrorMessage (conn)); | 236 | PQerrorMessage (conn)); |
237 | GNUNET_break (0); | 237 | GNUNET_break (0); |
238 | PQfinish (conn); | 238 | PQfinish (conn); |
239 | return 0; /* We ignore this type of error... */ | 239 | return 77; /* signal test was skipped */ |
240 | } | 240 | } |
241 | 241 | ||
242 | result = PQexec (conn, | 242 | result = PQexec (conn, |