diff options
author | Pavel Raiskup <praiskup@redhat.com> | 2014-10-22 08:54:05 +0200 |
---|---|---|
committer | Pavel Raiskup <praiskup@redhat.com> | 2014-10-22 08:54:05 +0200 |
commit | 2422a081a5be0d5ac5afb122361bc283da67341f (patch) | |
tree | cb255582060af6547dd9318c56ba0e8c761846a1 /postgresql-tests/tasks/upgrade-utf8-syntax/runtest.sh | |
parent | 922089746e1029de9be986672fcdeb6bc82e18d7 (diff) | |
download | postgresql-setup-tests-2422a081a5be0d5ac5afb122361bc283da67341f.tar.gz postgresql-setup-tests-2422a081a5be0d5ac5afb122361bc283da67341f.tar.xz postgresql-setup-tests-2422a081a5be0d5ac5afb122361bc283da67341f.zip |
big reorg: prepare for generalization
Try to split into three separate components -> controller, tester,
and 'tasks' (postgresql-tasks in our case). The controller
component is the main part which is able to run the task remotely.
Tester is more-like library for 'tasks' component (should be
reusable on the raw git level).
* controller: Almost separated component.
* postgresql-tasks: Likewise.
* tester: Likewise.
Diffstat (limited to 'postgresql-tests/tasks/upgrade-utf8-syntax/runtest.sh')
-rw-r--r-- | postgresql-tests/tasks/upgrade-utf8-syntax/runtest.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/postgresql-tests/tasks/upgrade-utf8-syntax/runtest.sh b/postgresql-tests/tasks/upgrade-utf8-syntax/runtest.sh new file mode 100644 index 0000000..9e7d9cf --- /dev/null +++ b/postgresql-tests/tasks/upgrade-utf8-syntax/runtest.sh @@ -0,0 +1,15 @@ +dtf_postgresql_test_init + +dtf_postgresql_cb_upgrade_select() +{ + if rlIsFedora 20 21 22; then + cat + else + cat >/dev/null + fi +} + +dtf_postgresql_upgrade_tour "$dtf_dataurl" locale-utf-typo.tar.gz +rlAssert0 "test wrapper should finish successfully" $? + +dtf_postgresql_test_finish |