summaryrefslogtreecommitdiff
path: root/debian/tests
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2017-10-08 17:22:04 +0300
committerIgor Pashev <pashev.igor@gmail.com>2017-10-08 17:22:18 +0300
commitfd8148250c8c46fac04277e7a07f8dd2908dd477 (patch)
treee4ba2001706d8ca09dc38cfa0fdf73eec0e17d97 /debian/tests
downloadpostgresql-10-debian.tar.gz
Imported postgresql-10 10.0-1debian/10.0-1debian
Diffstat (limited to 'debian/tests')
-rw-r--r--debian/tests/control3
-rwxr-xr-xdebian/tests/run-testsuite5
2 files changed, 8 insertions, 0 deletions
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..b7d52c4
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,3 @@
+Tests: run-testsuite
+Depends: @, build-essential, perl, hunspell-en-us, locales, netcat-openbsd, net-tools, logrotate
+Restrictions: needs-root
diff --git a/debian/tests/run-testsuite b/debian/tests/run-testsuite
new file mode 100755
index 0000000..96c12d9
--- /dev/null
+++ b/debian/tests/run-testsuite
@@ -0,0 +1,5 @@
+#!/bin/sh
+set -e
+
+cd /usr/share/postgresql-common
+./testsuite