aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorgrothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96>2012-06-11 21:04:08 +0000
committergrothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96>2012-06-11 21:04:08 +0000
commitcd874e3689aadd0d6a58abdc1db79bce712886a5 (patch)
treeb687867a4143a61f0f429d7f0f4d67d7dae9f676 /src
parent1065d1cde0db1136433d0c7adbf244265ec937a6 (diff)
-configure testcase
git-svn-id: https://gnunet.org/svn/gnunet@21899 140774ce-b5e7-0310-ab8b-a85725594a96
Diffstat (limited to 'src')
-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