From 1fc34d9a9dd025496d119eb0aeecc8332cb71bb4 Mon Sep 17 00:00:00 2001 From: Christian Schneider Date: Tue, 21 Oct 2025 15:06:40 +0200 Subject: Do not fail if postgresql is not running but skip this machine --- test/it_dbi_postgres.t | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3