diff options
| author | Christian Schneider | 2025-10-21 15:06:40 +0200 |
|---|---|---|
| committer | Christian Schneider | 2025-10-21 15:06:40 +0200 |
| commit | 1fc34d9a9dd025496d119eb0aeecc8332cb71bb4 (patch) | |
| tree | 38dde9f4b72055b293dec954edf546280d868850 /test/it_dbi_postgres.t | |
| parent | c939f75a9f9af952c6fbf8d96dc969238a045738 (diff) | |
| download | itools-1fc34d9a9dd025496d119eb0aeecc8332cb71bb4.tar.gz itools-1fc34d9a9dd025496d119eb0aeecc8332cb71bb4.tar.bz2 itools-1fc34d9a9dd025496d119eb0aeecc8332cb71bb4.zip | |
Do not fail if postgresql is not running but skip this machine
Diffstat (limited to 'test/it_dbi_postgres.t')
| -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 |