summaryrefslogtreecommitdiffstats
path: root/postgresql-tests
Commit message (Collapse)AuthorAgeFilesLines
* * postgresql-tests/config.sh: Data dir is versioned now.HEADmasterPavel Raiskup2015-11-131-2/+2
|
* * postgresql-tests/gen-data/generate (generate_tasks): GeneratePavel Raiskup2015-10-201-0/+1
| | | | | also file having basic information about installed postgresql package. This is only human-readable ATM.
* generate-data: fixes needed for dockerPavel Raiskup2015-10-202-5/+43
| | | | | | | | | | Because we usually mount /var/lib/pgsql/data into container, scripts would fail on 'rm -rf /var/lib/pgsql/data'. * generate (GEN_DATA): Use $PGHOME/data/data. (single_task): Generate tarball from proper datadir. * prep: Use 'dnf' when necessary. Use /var/lib/pgsql/data/data directory.
* * postgresql-tests/lib_pgsql.shPavel Raiskup2015-06-081-7/+16
| | | | | (dtf_postgresql_upgrade_matrix): Fix the matrix mainly for f22 and f23.
* postgresql-tests: test upstream testsuitePavel Raiskup2014-11-242-0/+39
| | | | | | | * postgresql-tests/lib_pgsql.sh (dtf_postgresql_initdb): New initdb wrapper. * postgresql-tests/tasks/upstream-testsuite/runtest.sh: New testcase.
* postgresql-tests: add test for PGSETUP_INITDB_OPTIONSPavel Raiskup2014-11-062-0/+33
| | | | | | * lib_pgsql.sh (dtf_postgresql_phase_cleanup): Remove all logs. (dtf_postgresql_checkphase): Fail if some logs are present. * tasks/upgrade/locale/changed/runtest.sh: New file.
* postgresql-tasks: rename once morePavel Raiskup2014-11-064-0/+0
| | | | | | | | * tasks/initdb: Move to tasks/initdb/basic. * tasks/initdb_old: Move to tasks/initdb/old-syntax. * tasks/upgrade-basic: Moved to tasks/upgrade/basic. * tasks/upgrade-locale-utf8-syntax: Moved to tasks/upgrade/locale/utf8-syntax.
* postgresql-tasks: rename testsPavel Raiskup2014-11-062-2/+2
| | | | | | | * postgresql-tests/tasks/upgrade-basic/runtest.sh: Sync the test name with directory name. * postgresql-tests/tasks/upgrade-utf8-syntax/runtest.sh: Rename to postgresql-tests/tasks/upgrade-locale-utf8-syntax/runtest.sh.
* postgresql-tests: use different internal data mirrorPavel Raiskup2014-10-241-1/+1
| | | | * postgresql-tests/config.sh: Use office accessible IP.
* tester/run: better define APIPavel Raiskup2014-10-249-47/+64
| | | | | | | | | | | | | | | | | | | | | | | Define test return values and its calling. Do not split the testcase into configuration and running script, rather use one file and wrap the script by run() method. This is still very easy to run without running whole testsuite. * tester/run (DTF_RESULT_*): Return values API. (run): Rename to run_test. Make the function more readable, don't generate xml results (not yet used anyway). * postgresql-tests/config.sh: Do not source the per-testsuite library directly as the configuration script config.h is sourced even by 'run' script itself for --dist option (for that action we actually do not need per-testsuite libraries). * postgresql-tests/tasks/initdb/runtest.sh: New API used. * postgresql-tests/tasks/initdb_old/runtest.sh: Likewise. * postgresql-tests/tasks/upgrade-basic/runtest.sh: Likewise. * postgresql-tests/tasks/upgrade-utf8-syntax/runtest.sh: Likewise. * postgresql-tests/tasks/upgrade-basic/config.sh: Remove. * postgresql-tests/tasks/initdb/config.sh: Remove. * postgresql-tests/tasks/initdb_old/config.sh: Remove. * postgresql-tests/tasks/upgrade-utf8-syntax/config.sh: Remove.
* postgresql-tests: data "mirroring" supportPavel Raiskup2014-10-224-3/+19
| | | | | | | | | | | | | | | Turns out that our OpenStack has poor connectivity to Brno so I added data mirror on one VM on OS1. * postgresql-tests/lib_pgsql.sh (dtf_postgresql_data_mirror): New PostgreSQL related API. * postgresql-tests/config.sh ($dtf_dataurl): Removed PG API variable. ($dtf_dataurls): Substitution for $dtf_dataurl; Array of possible data URLs. * postgresql-tests/tasks/upgrade-basic/runtest.sh: Reuse new PG API^. * postgresql-tests/tasks/upgrade-utf8-syntax/runtest.sh: Likewise.
* big reorg: prepare for generalizationPavel Raiskup2014-10-2224-0/+458
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.