aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/namestore/Makefile.am7
-rw-r--r--src/namestore/test_plugin_namestore_postgres.conf2
2 files changed, 9 insertions, 0 deletions
diff --git a/src/namestore/Makefile.am b/src/namestore/Makefile.am
index 2106ccf765..34cf4e183b 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 0000000000..e2641eac29
--- /dev/null
+++ b/src/namestore/test_plugin_namestore_postgres.conf
@@ -0,0 +1,2 @@
+[datacache-postgres]
+CONFIG = connect_timeout=10; dbname=gnunetcheck