summaryrefslogtreecommitdiff
path: root/test/it_dbi_postgres.t
diff options
context:
space:
mode:
authorChristian Schneider2025-10-21 17:28:45 +0200
committerChristian Schneider2025-10-21 17:28:45 +0200
commitc291834b713dc024e50749045da76ca0659c481a (patch)
treec7edeec2b2414b6a1e7751f2e03c6989c510eb4a /test/it_dbi_postgres.t
parent1fc34d9a9dd025496d119eb0aeecc8332cb71bb4 (diff)
downloaditools-c291834b713dc024e50749045da76ca0659c481a.tar.gz
itools-c291834b713dc024e50749045da76ca0659c481a.tar.bz2
itools-c291834b713dc024e50749045da76ca0659c481a.zip
Skip tests on live if postgresql is not running: Fails on devel/twin without postgresql, still runs on some live machines
Diffstat (limited to 'test/it_dbi_postgres.t')
-rwxr-xr-xtest/it_dbi_postgres.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/it_dbi_postgres.t b/test/it_dbi_postgres.t
index 613645c..1169972 100755
--- a/test/it_dbi_postgres.t
+++ b/test/it_dbi_postgres.t
@@ -1,7 +1,7 @@
#!/bin/sh
-if systemctl check -q postgresql.service; then
+if systemctl check -q postgresql.service || ! servertype live; 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
+ echo ok 1 - Skipping tests on live if postgresql is not running
fi