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 /gen-data/tasks | |
| parent | 922089746e1029de9be986672fcdeb6bc82e18d7 (diff) | |
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 'gen-data/tasks')
| -rw-r--r-- | gen-data/tasks/basic/run.sh | 6 | ||||
| -rw-r--r-- | gen-data/tasks/locale-cz/run.sh | 5 | ||||
| -rw-r--r-- | gen-data/tasks/locale-utf-typo/run.sh | 5 | ||||
| -rw-r--r-- | gen-data/tasks/templates/locale-change.sh | 16 |
4 files changed, 0 insertions, 32 deletions
diff --git a/gen-data/tasks/basic/run.sh b/gen-data/tasks/basic/run.sh deleted file mode 100644 index 0118ad3..0000000 --- a/gen-data/tasks/basic/run.sh +++ /dev/null @@ -1,6 +0,0 @@ -export task_name="basic" - -run() -{ - create_pagila -} diff --git a/gen-data/tasks/locale-cz/run.sh b/gen-data/tasks/locale-cz/run.sh deleted file mode 100644 index 1788557..0000000 --- a/gen-data/tasks/locale-cz/run.sh +++ /dev/null @@ -1,5 +0,0 @@ -export task_name="locale-cz" - -export ___new_locale="LANG=cs_CZ.utf8" - -. ./tasks/templates/locale-change.sh diff --git a/gen-data/tasks/locale-utf-typo/run.sh b/gen-data/tasks/locale-utf-typo/run.sh deleted file mode 100644 index 9004a88..0000000 --- a/gen-data/tasks/locale-utf-typo/run.sh +++ /dev/null @@ -1,5 +0,0 @@ -export task_name="locale-utf-typo" - -export ___new_locale="LANG=en_US.utf8" - -. ./tasks/templates/locale-change.sh diff --git a/gen-data/tasks/templates/locale-change.sh b/gen-data/tasks/templates/locale-change.sh deleted file mode 100644 index 8f7964f..0000000 --- a/gen-data/tasks/templates/locale-change.sh +++ /dev/null @@ -1,16 +0,0 @@ -hook_start() -{ - export CHECK_LOCALE=0 - ___old_locale="$(cat /etc/locale.conf)" - echo "$___new_locale" > /etc/locale.conf -} - -hook_end() -{ - echo "$___old_locale" > /etc/locale.conf -} - -run() -{ - create_pagila -} |
