<feed xmlns='http://www.w3.org/2005/Atom'>
<title>postgresql-setup-tests.git/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>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>
<entry>
<title>tasks/initdb: the --MODE options are in f22+</title>
<updated>2014-10-21T11:50:44+00:00</updated>
<author>
<name>Pavel Raiskup</name>
<email>praiskup@redhat.com</email>
</author>
<published>2014-10-21T11:50:44+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/praiskup/public_git/postgresql-setup-tests.git/commit/?id=5477adec14c5a0acd553a42bdf6e8ac2179f6a22'/>
<id>5477adec14c5a0acd553a42bdf6e8ac2179f6a22</id>
<content type='text'>
* tasks/initdb/runtests.sh: Skip this test if performed on f21-.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* tasks/initdb/runtests.sh: Skip this test if performed on f21-.
</pre>
</div>
</content>
</entry>
<entry>
<title>tasks/upgrade-locale-utf8-syntax: new testcase</title>
<updated>2014-10-20T06:58:55+00:00</updated>
<author>
<name>Pavel Raiskup</name>
<email>praiskup@redhat.com</email>
</author>
<published>2014-10-20T06:58:55+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/praiskup/public_git/postgresql-setup-tests.git/commit/?id=b0f7b339307050ce5a52c3dfda97aa50a901e5b8'/>
<id>b0f7b339307050ce5a52c3dfda97aa50a901e5b8</id>
<content type='text'>
When system's locale changed e.g. from en_US.utf8 to en_US.UTF-8,
older PostgreSQL versions were unable to upgrade the data
directory.  From Fedora 20 we should be able to upgrade without
issues.

Related: #1007802

* lib_pgsql.sh (dtf_postgresql_cb_upgrade)
(dtf_postgresql_cb_upgrade_select): New callbacks for
dtf_postgresql_upgrade_tour function.
(dtf_postgresql_upgrade_tour): Function determining against which
data the installation is able to upgrade and performs all the
possible upgrade scenarios.
* tasks/upgrade-basic/runtest.sh: Switch to
dtf_postgresql_upgrade_tour usage.
* tasks/upgrade-utf8-syntax/config.sh: New testcase config.
* tasks/upgrade-utf8-syntax/runtest.sh: New testcase.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When system's locale changed e.g. from en_US.utf8 to en_US.UTF-8,
older PostgreSQL versions were unable to upgrade the data
directory.  From Fedora 20 we should be able to upgrade without
issues.

Related: #1007802

* lib_pgsql.sh (dtf_postgresql_cb_upgrade)
(dtf_postgresql_cb_upgrade_select): New callbacks for
dtf_postgresql_upgrade_tour function.
(dtf_postgresql_upgrade_tour): Function determining against which
data the installation is able to upgrade and performs all the
possible upgrade scenarios.
* tasks/upgrade-basic/runtest.sh: Switch to
dtf_postgresql_upgrade_tour usage.
* tasks/upgrade-utf8-syntax/config.sh: New testcase config.
* tasks/upgrade-utf8-syntax/runtest.sh: New testcase.
</pre>
</div>
</content>
</entry>
<entry>
<title>tasks/upgrade: add basic upgrade testcase</title>
<updated>2014-10-20T05:25:13+00:00</updated>
<author>
<name>Pavel Raiskup</name>
<email>praiskup@redhat.com</email>
</author>
<published>2014-10-20T05:25:13+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/praiskup/public_git/postgresql-setup-tests.git/commit/?id=4d5a62e62e64554af003f3395639ba912ed0c6c6'/>
<id>4d5a62e62e64554af003f3395639ba912ed0c6c6</id>
<content type='text'>
Based on pre-generated tarball with PostgreSQL data - download the
tarball, unpack and perform 'postgresql-setup upgrade'.

* lib_pgsql.sh (dtf_postgresql_unpack_remote_data): New function.
(dtf_postgresql_upgrade_matrix): New function.  Detect which data
should we test against.
* run: Define new global $dtf_dataurl.
* tasks/upgrade-basic/config.sh: New testcase config.
* tasks/upgrade-basic/runtest.sh: New testcase.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Based on pre-generated tarball with PostgreSQL data - download the
tarball, unpack and perform 'postgresql-setup upgrade'.

* lib_pgsql.sh (dtf_postgresql_unpack_remote_data): New function.
(dtf_postgresql_upgrade_matrix): New function.  Detect which data
should we test against.
* run: Define new global $dtf_dataurl.
* tasks/upgrade-basic/config.sh: New testcase config.
* tasks/upgrade-basic/runtest.sh: New testcase.
</pre>
</div>
</content>
</entry>
<entry>
<title>tasks/initdb: fixes for f20</title>
<updated>2014-10-03T12:44:34+00:00</updated>
<author>
<name>Pavel Raiskup</name>
<email>praiskup@redhat.com</email>
</author>
<published>2014-10-03T12:44:34+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/praiskup/public_git/postgresql-setup-tests.git/commit/?id=98df0c8b79a964c94df0c7b731fe790073214eba'/>
<id>98df0c8b79a964c94df0c7b731fe790073214eba</id>
<content type='text'>
Older versions of postgresql-setup do not support --initdb option.

* lib_pgsql.sh (dtf_postgresql_phase_cleanup): Do not fail when
the data directory is not created by test.
* tasks/initdb/runtest.sh: Avoid running this test on older
RHEL/Fedora systems.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Older versions of postgresql-setup do not support --initdb option.

* lib_pgsql.sh (dtf_postgresql_phase_cleanup): Do not fail when
the data directory is not created by test.
* tasks/initdb/runtest.sh: Avoid running this test on older
RHEL/Fedora systems.
</pre>
</div>
</content>
</entry>
<entry>
<title>library/run: structured output in xml</title>
<updated>2014-10-03T07:24:36+00:00</updated>
<author>
<name>Pavel Raiskup</name>
<email>praiskup@redhat.com</email>
</author>
<published>2014-10-03T07:14:36+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/praiskup/public_git/postgresql-setup-tests.git/commit/?id=9656d604846e3a67e6e045fca0e2a04e96e93e93'/>
<id>9656d604846e3a67e6e045fca0e2a04e96e93e93</id>
<content type='text'>
Generate xml output easily parse-able by xsltproc.

* lib.sh (dtf_resultxml_init, dtf_resultxml_finish,
dtf_resultxml_cache, dtf_die):  New functions.
* run.sh: Include lib.sh globally.
* run.sh (run): Reuse new lib api.
* tasks/initdb_old/config.sh: Typo: use DTF_TEST_DESCRIPTION.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Generate xml output easily parse-able by xsltproc.

* lib.sh (dtf_resultxml_init, dtf_resultxml_finish,
dtf_resultxml_cache, dtf_die):  New functions.
* run.sh: Include lib.sh globally.
* run.sh (run): Reuse new lib api.
* tasks/initdb_old/config.sh: Typo: use DTF_TEST_DESCRIPTION.
</pre>
</div>
</content>
</entry>
<entry>
<title>Initial commit</title>
<updated>2014-10-03T07:24:13+00:00</updated>
<author>
<name>Pavel Raiskup</name>
<email>praiskup@redhat.com</email>
</author>
<published>2014-10-02T10:33:52+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/praiskup/public_git/postgresql-setup-tests.git/commit/?id=3a60df60e73c23730210f3706233d74597034148'/>
<id>3a60df60e73c23730210f3706233d74597034148</id>
<content type='text'>
Initializet the lib/run structure and created two basic tests for
PostgreSQL.

* README: New file.
* lib.sh: Likewise.
* lib_pgsql.sh: Likewise.
* run: Likewise.
* tasks/initdb/config.sh: Likewise.
* tasks/initdb/runtest.sh: Likewise.
* tasks/initdb_old/config.sh: Likewise.
* tasks/initdb_old/runtest.sh: Likewise.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Initializet the lib/run structure and created two basic tests for
PostgreSQL.

* README: New file.
* lib.sh: Likewise.
* lib_pgsql.sh: Likewise.
* run: Likewise.
* tasks/initdb/config.sh: Likewise.
* tasks/initdb/runtest.sh: Likewise.
* tasks/initdb_old/config.sh: Likewise.
* tasks/initdb_old/runtest.sh: Likewise.
</pre>
</div>
</content>
</entry>
</feed>
