summaryrefslogtreecommitdiffstats
path: root/postgresql-tests/tasks/initdb_old/runtest.sh
blob: 1cd77f40dbd1bb80b50de54825d8686d9c07c843 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
export DTF_TEST_ID="initdb-old-syntax"
export DTF_TEST_DESCRIPTION="\
Check that the old syntax 'postgresql-setup initdb' works together with
following 'service start postgresql'."

run()
{
    dtf_postgresql_test_init
    rlRun "postgresql-setup initdb"
    rlServiceStart postgresql
    dtf_postgresql_check_started
    dtf_postgresql_test_finish
}