summaryrefslogtreecommitdiffstats
path: root/gen-data/generate
Commit message (Collapse)AuthorAgeFilesLines
* big reorg: prepare for generalizationPavel Raiskup2014-10-221-129/+0
| | | | | | | | | | | | 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.
* gen-data/tasks: add new 'locale-cz' taskPavel Raiskup2014-10-171-5/+13
| | | | | | | | | | | | | | | This data should help with checking of 'postgresql --upgrade' behavior when the system locale changed significantly (from en_US.UTF-8 to cs_CZ.utf8). * gen-data/tasks/locale-cz/run.sh: New task file. * gen-data/generate (locale_prereq): Fix missing LANG= prefix in expected locale. Quote current/expected locale strings in error output. (single_task): Adjust $INDENT in sub-shell to not affect subsequent calls. Create tarball in $OUTPUTDIR rather than in `pwd`. Introduce hook_end callback. (generate_tasks): Use dynamic list of tasks.
* gen-data: add infrastructure for data generationPavel Raiskup2014-10-171-0/+121
Add also first task 'basic' which generates simple 'pagila' database. * generate: New file. * databases/pagila.sh: New database file. * tasks/basic/run.sh: New task file.