-configure testcase
authorChristian Grothoff <christian@grothoff.org>
Mon, 11 Jun 2012 21:04:08 +0000 (21:04 +0000)
committerChristian Grothoff <christian@grothoff.org>
Mon, 11 Jun 2012 21:04:08 +0000 (21:04 +0000)
src/namestore/Makefile.am
src/namestore/test_plugin_namestore_postgres.conf [new file with mode: 0644]

index 2106ccf7659edeac29c5a2ef8a22ad3a56c7bd7a..34cf4e183b3cc5a4593776e22aebae621bde8d35 100644 (file)
@@ -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 (file)
index 0000000..e2641ea
--- /dev/null
@@ -0,0 +1,2 @@
+[datacache-postgres]
+CONFIG = connect_timeout=10; dbname=gnunetcheck