summaryrefslogtreecommitdiffstats
path: root/postgresql-tests/tasks/initdb
diff options
context:
space:
mode:
authorPavel Raiskup <praiskup@redhat.com>2014-11-06 11:40:39 +0100
committerPavel Raiskup <praiskup@redhat.com>2014-11-06 11:50:27 +0100
commita963a4ab222307bfd692c38fe65bdde263c31c28 (patch)
treead32ab219e4ba29b08c99174ee7f134ea0864983 /postgresql-tests/tasks/initdb
parent69c86e4a0fcb3f086d62a7fe6913f09df7cdc742 (diff)
downloadpostgresql-setup-tests-a963a4ab222307bfd692c38fe65bdde263c31c28.tar.gz
postgresql-setup-tests-a963a4ab222307bfd692c38fe65bdde263c31c28.tar.xz
postgresql-setup-tests-a963a4ab222307bfd692c38fe65bdde263c31c28.zip
postgresql-tasks: rename once more
* tasks/initdb: Move to tasks/initdb/basic. * tasks/initdb_old: Move to tasks/initdb/old-syntax. * tasks/upgrade-basic: Moved to tasks/upgrade/basic. * tasks/upgrade-locale-utf8-syntax: Moved to tasks/upgrade/locale/utf8-syntax.
Diffstat (limited to 'postgresql-tests/tasks/initdb')
-rw-r--r--postgresql-tests/tasks/initdb/basic/runtest.sh (renamed from postgresql-tests/tasks/initdb/runtest.sh)0
-rw-r--r--postgresql-tests/tasks/initdb/old-syntax/runtest.sh13
2 files changed, 13 insertions, 0 deletions
diff --git a/postgresql-tests/tasks/initdb/runtest.sh b/postgresql-tests/tasks/initdb/basic/runtest.sh
index f8cf3a5..f8cf3a5 100644
--- a/postgresql-tests/tasks/initdb/runtest.sh
+++ b/postgresql-tests/tasks/initdb/basic/runtest.sh
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
+}