[pgsql-ogr-fdw] 08/08: debian/tests: Run testsuite.
Christoph Berg
myon at debian.org
Tue Oct 3 10:11:02 UTC 2017
This is an automated email from the git hooks/post-receive script.
myon pushed a commit to branch master
in repository pgsql-ogr-fdw.
commit d0a64cf006f8b07f0f20f11cae596f5ee64f127a
Author: Christoph Berg <myon at debian.org>
Date: Tue Oct 3 12:01:50 2017 +0200
debian/tests: Run testsuite.
---
debian/changelog | 1 +
debian/tests/control | 2 ++
debian/tests/installcheck | 6 ++++++
3 files changed, 9 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index c36fe87..abc9585 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ pgsql-ogr-fdw (1.0.3-1) UNRELEASED; urgency=medium
* New upstream version with PostgreSQL 10 support.
* Remove typos.patch.
+ * debian/tests: Run testsuite.
* Add myself to Uploaders.
* Bump S-V; no changes.
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..556e64c
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,2 @@
+Depends: @, newpid
+Tests: installcheck
diff --git a/debian/tests/installcheck b/debian/tests/installcheck
new file mode 100755
index 0000000..4964d03
--- /dev/null
+++ b/debian/tests/installcheck
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+# Force port 5432 and trust because we connect back to ourselves;
+# use newnet to mask any other running instance on 5432.
+
+newnet pg_buildext -c '--port=5432' -i '--auth=trust' installcheck
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/pgsql-ogr-fdw.git
More information about the Pkg-grass-devel
mailing list