summaryrefslogtreecommitdiffstats
path: root/postgresql-tests/tasks/upgrade-basic/runtest.sh
diff options
context:
space:
mode:
Diffstat (limited to 'postgresql-tests/tasks/upgrade-basic/runtest.sh')
-rw-r--r--postgresql-tests/tasks/upgrade-basic/runtest.sh14
1 files changed, 10 insertions, 4 deletions
diff --git a/postgresql-tests/tasks/upgrade-basic/runtest.sh b/postgresql-tests/tasks/upgrade-basic/runtest.sh
index 37af60e..7952fe0 100644
--- a/postgresql-tests/tasks/upgrade-basic/runtest.sh
+++ b/postgresql-tests/tasks/upgrade-basic/runtest.sh
@@ -1,6 +1,12 @@
-dtf_postgresql_test_init
+export DTF_TEST_ID="basic-upgrade"
+export DTF_TEST_DESCRIPTION="Check postgresql-setup [--]upgrade"
-dtf_postgresql_upgrade_tour "$(dtf_postgresql_data_mirror)" basic.tar.gz
-rlAssert0 "test wrapper should finish successfully" $?
+run()
+{
+ dtf_postgresql_test_init
-dtf_postgresql_test_finish
+ dtf_postgresql_upgrade_tour "$(dtf_postgresql_data_mirror)" basic.tar.gz
+ rlAssert0 "test wrapper should finish successfully" $?
+
+ dtf_postgresql_test_finish
+}