diff options
author | Pavel Raiskup <praiskup@redhat.com> | 2014-10-20 08:58:55 +0200 |
---|---|---|
committer | Pavel Raiskup <praiskup@redhat.com> | 2014-10-20 08:58:55 +0200 |
commit | b0f7b339307050ce5a52c3dfda97aa50a901e5b8 (patch) | |
tree | cd3a944eee9910faa66ad5ce1ce8152e0795b764 /tasks/upgrade-utf8-syntax/config.sh | |
parent | 4d5a62e62e64554af003f3395639ba912ed0c6c6 (diff) | |
download | postgresql-setup-tests-b0f7b339307050ce5a52c3dfda97aa50a901e5b8.tar.gz postgresql-setup-tests-b0f7b339307050ce5a52c3dfda97aa50a901e5b8.tar.xz postgresql-setup-tests-b0f7b339307050ce5a52c3dfda97aa50a901e5b8.zip |
tasks/upgrade-locale-utf8-syntax: new testcase
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.
Diffstat (limited to 'tasks/upgrade-utf8-syntax/config.sh')
-rw-r--r-- | tasks/upgrade-utf8-syntax/config.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tasks/upgrade-utf8-syntax/config.sh b/tasks/upgrade-utf8-syntax/config.sh new file mode 100644 index 0000000..bed95ad --- /dev/null +++ b/tasks/upgrade-utf8-syntax/config.sh @@ -0,0 +1,3 @@ +export DTF_TEST_ID="basic-locale-utf8-syntax" +export DTF_TEST_DESCRIPTION="Check postgresql-setup --upgrade works even when \ +the system locale changed from xx_XX.utf8 to xx_XX.UTF-8" |