diff options
Diffstat (limited to 'tasks/initdb')
-rwxr-xr-x | tasks/initdb/runtest.sh | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/tasks/initdb/runtest.sh b/tasks/initdb/runtest.sh index 5a942ef..d5323bd 100755 --- a/tasks/initdb/runtest.sh +++ b/tasks/initdb/runtest.sh @@ -1,5 +1,11 @@ dtf_postgresql_test_init -rlRun "postgresql-setup --initdb" -rlServiceStart postgresql -dtf_postgresql_check_started +if rlIsFedora 18 19 20 || rlIsRHEL 5 6 7; then + # This syntaxe is not supported on oler systems. + : +else + rlRun "postgresql-setup --initdb" + rlServiceStart postgresql + dtf_postgresql_check_started +fi + dtf_postgresql_test_finish |