summaryrefslogtreecommitdiffstats
path: root/postgresql-tests/tasks/initdb/old-syntax/runtest.sh
diff options
context:
space:
mode:
Diffstat (limited to 'postgresql-tests/tasks/initdb/old-syntax/runtest.sh')
-rw-r--r--postgresql-tests/tasks/initdb/old-syntax/runtest.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/postgresql-tests/tasks/initdb/old-syntax/runtest.sh b/postgresql-tests/tasks/initdb/old-syntax/runtest.sh
new file mode 100644
index 0000000..1cd77f4
--- /dev/null
+++ b/postgresql-tests/tasks/initdb/old-syntax/runtest.sh
@@ -0,0 +1,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
+}