From a963a4ab222307bfd692c38fe65bdde263c31c28 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Thu, 6 Nov 2014 11:40:39 +0100 Subject: postgresql-tasks: rename once more * 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. --- .../tasks/upgrade/locale/utf8-syntax/runtest.sh | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 postgresql-tests/tasks/upgrade/locale/utf8-syntax/runtest.sh (limited to 'postgresql-tests/tasks/upgrade/locale/utf8-syntax/runtest.sh') diff --git a/postgresql-tests/tasks/upgrade/locale/utf8-syntax/runtest.sh b/postgresql-tests/tasks/upgrade/locale/utf8-syntax/runtest.sh new file mode 100644 index 0000000..7567e0f --- /dev/null +++ b/postgresql-tests/tasks/upgrade/locale/utf8-syntax/runtest.sh @@ -0,0 +1,22 @@ +export DTF_TEST_ID="upgrade-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" + +run() +{ + dtf_postgresql_test_init + + dtf_postgresql_cb_upgrade_select() + { + if rlIsFedora 20 21 22; then + cat + else + cat >/dev/null + fi + } + + dtf_postgresql_upgrade_tour "$(dtf_postgresql_data_mirror)" locale-utf-typo.tar.gz + rlAssert0 "test wrapper should finish successfully" $? + + dtf_postgresql_test_finish +} -- cgit