diff options
Diffstat (limited to 'postgresql-tests/tasks/upgrade-basic')
-rw-r--r-- | postgresql-tests/tasks/upgrade-basic/config.sh | 2 | ||||
-rw-r--r-- | postgresql-tests/tasks/upgrade-basic/runtest.sh | 14 |
2 files changed, 10 insertions, 6 deletions
diff --git a/postgresql-tests/tasks/upgrade-basic/config.sh b/postgresql-tests/tasks/upgrade-basic/config.sh deleted file mode 100644 index a1d4a2f..0000000 --- a/postgresql-tests/tasks/upgrade-basic/config.sh +++ /dev/null @@ -1,2 +0,0 @@ -export DTF_TEST_ID="basic-upgrade" -export DTF_TEST_DESCRIPTION="Check postgresql-setup [--]upgrade" 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 +} |