blob: f8cf3a53068855bf54df65ea4e69a19f500b3ee8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
export DTF_TEST_ID="initdb-basic"
export DTF_TEST_DESCRIPTION="\
Check that the syntax 'postgresql-setup --initdb' works together with following
'service start postgresql'."
run()
{
dtf_postgresql_test_init
if rlIsFedora 18 19 20 21 || 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
}
|