<feed xmlns='http://www.w3.org/2005/Atom'>
<title>postgresql-setup-tests.git/postgresql-tests/tasks, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/praiskup/public_git/postgresql-setup-tests.git/'/>
<entry>
<title>postgresql-tests: test upstream testsuite</title>
<updated>2014-11-24T15:10:11+00:00</updated>
<author>
<name>Pavel Raiskup</name>
<email>praiskup@redhat.com</email>
</author>
<published>2014-11-24T15:10:11+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/praiskup/public_git/postgresql-setup-tests.git/commit/?id=22a4e88e40c30c309b27c399ac6795da6c5fe7c9'/>
<id>22a4e88e40c30c309b27c399ac6795da6c5fe7c9</id>
<content type='text'>
* postgresql-tests/lib_pgsql.sh (dtf_postgresql_initdb): New
initdb wrapper.
* postgresql-tests/tasks/upstream-testsuite/runtest.sh: New
testcase.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* postgresql-tests/lib_pgsql.sh (dtf_postgresql_initdb): New
initdb wrapper.
* postgresql-tests/tasks/upstream-testsuite/runtest.sh: New
testcase.
</pre>
</div>
</content>
</entry>
<entry>
<title>postgresql-tests: add test for PGSETUP_INITDB_OPTIONS</title>
<updated>2014-11-06T13:08:37+00:00</updated>
<author>
<name>Pavel Raiskup</name>
<email>praiskup@redhat.com</email>
</author>
<published>2014-11-06T13:08:37+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/praiskup/public_git/postgresql-setup-tests.git/commit/?id=85be352da4e973bc0a866774fff9052ac5d1b446'/>
<id>85be352da4e973bc0a866774fff9052ac5d1b446</id>
<content type='text'>
* 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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* 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.
</pre>
</div>
</content>
</entry>
<entry>
<title>postgresql-tasks: rename once more</title>
<updated>2014-11-06T10:50:27+00:00</updated>
<author>
<name>Pavel Raiskup</name>
<email>praiskup@redhat.com</email>
</author>
<published>2014-11-06T10:40:39+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/praiskup/public_git/postgresql-setup-tests.git/commit/?id=a963a4ab222307bfd692c38fe65bdde263c31c28'/>
<id>a963a4ab222307bfd692c38fe65bdde263c31c28</id>
<content type='text'>
* 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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* 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.
</pre>
</div>
</content>
</entry>
<entry>
<title>postgresql-tasks: rename tests</title>
<updated>2014-11-06T09:59:24+00:00</updated>
<author>
<name>Pavel Raiskup</name>
<email>praiskup@redhat.com</email>
</author>
<published>2014-11-06T09:58:23+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/praiskup/public_git/postgresql-setup-tests.git/commit/?id=69c86e4a0fcb3f086d62a7fe6913f09df7cdc742'/>
<id>69c86e4a0fcb3f086d62a7fe6913f09df7cdc742</id>
<content type='text'>
* 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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* 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.
</pre>
</div>
</content>
</entry>
<entry>
<title>tester/run: better define API</title>
<updated>2014-10-24T12:29:35+00:00</updated>
<author>
<name>Pavel Raiskup</name>
<email>praiskup@redhat.com</email>
</author>
<published>2014-10-24T12:29:35+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/praiskup/public_git/postgresql-setup-tests.git/commit/?id=2a6faa0853239377f191cdd72efc60f1df684ebd'/>
<id>2a6faa0853239377f191cdd72efc60f1df684ebd</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>postgresql-tests: data "mirroring" support</title>
<updated>2014-10-22T09:49:37+00:00</updated>
<author>
<name>Pavel Raiskup</name>
<email>praiskup@redhat.com</email>
</author>
<published>2014-10-22T09:49:37+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/praiskup/public_git/postgresql-setup-tests.git/commit/?id=346dc8cdb6c4b81ff2ee9b0d8c364895694641cb'/>
<id>346dc8cdb6c4b81ff2ee9b0d8c364895694641cb</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>big reorg: prepare for generalization</title>
<updated>2014-10-22T06:54:05+00:00</updated>
<author>
<name>Pavel Raiskup</name>
<email>praiskup@redhat.com</email>
</author>
<published>2014-10-22T06:54:05+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/praiskup/public_git/postgresql-setup-tests.git/commit/?id=2422a081a5be0d5ac5afb122361bc283da67341f'/>
<id>2422a081a5be0d5ac5afb122361bc283da67341f</id>
<content type='text'>
Try to split into three separate components -&gt; 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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Try to split into three separate components -&gt; 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.
</pre>
</div>
</content>
</entry>
</feed>
