From: Christian Grothoff Date: Mon, 11 Jun 2012 21:04:08 +0000 (+0000) Subject: -configure testcase X-Git-Tag: initial-import-from-subversion-38251~13138 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=dd42cc68d1030dd1ad4ef39e947ac2e0a8963d4a;p=oweals%2Fgnunet.git -configure testcase --- diff --git a/src/namestore/Makefile.am b/src/namestore/Makefile.am index 2106ccf76..34cf4e183 100644 --- a/src/namestore/Makefile.am +++ b/src/namestore/Makefile.am @@ -233,6 +233,7 @@ test_namestore_record_serialization_LDADD = \ EXTRA_DIST = \ test_namestore_api.conf \ test_plugin_namestore_sqlite.conf\ + test_plugin_namestore_postgres.conf\ test_hostkey \ zonefiles/HGU0A0VCU334DN7F2I9UIUMVQMM7JMSD142LIMNUGTTV9R0CF4EG.zkey \ zonefiles/N0UJMP015AFUNR2BTNM3FKPBLG38913BL8IDMCO2H0A1LIB81960.zkey @@ -243,3 +244,9 @@ test_plugin_namestore_sqlite_SOURCES = \ test_plugin_namestore_sqlite_LDADD = \ $(top_builddir)/src/testing/libgnunettesting.la \ $(top_builddir)/src/util/libgnunetutil.la + +test_plugin_namestore_postgres_SOURCES = \ + test_plugin_namestore.c +test_plugin_namestore_postgres_LDADD = \ + $(top_builddir)/src/testing/libgnunettesting.la \ + $(top_builddir)/src/util/libgnunetutil.la diff --git a/src/namestore/test_plugin_namestore_postgres.conf b/src/namestore/test_plugin_namestore_postgres.conf new file mode 100644 index 000000000..e2641eac2 --- /dev/null +++ b/src/namestore/test_plugin_namestore_postgres.conf @@ -0,0 +1,2 @@ +[datacache-postgres] +CONFIG = connect_timeout=10; dbname=gnunetcheck