summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rwxr-xr-xtest/it_dbi_postgres.t7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/it_dbi_postgres.t b/test/it_dbi_postgres.t
index a272215..613645c 100755
--- a/test/it_dbi_postgres.t
+++ b/test/it_dbi_postgres.t
@@ -1,2 +1,7 @@
#!/bin/sh
-systemctl check -q postgresql.service && `dirname $0`/it_dbi.t --subclass it_dbi_postgres --db map_search_ch \ No newline at end of file
+
+if systemctl check -q postgresql.service; then
+ `dirname $0`/it_dbi.t --subclass it_dbi_postgres --db map_search_ch
+else
+ echo ok 1 - Skipping tests because postgresql is not running
+fi