diff options
| -rwxr-xr-x | test/it_dbi_postgres.t | 7 |
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 |