Commit 14e42158 authored by Martin Pitt's avatar Martin Pitt

t/030_errors.t: Fix "invalid pg_hba.conf" test for translated PostgreSQL

error message.
parent 29f3cb77
......@@ -5,6 +5,8 @@ postgresql-common (99) UNRELEASED; urgency=low
* PgCommon.pm, cluster_info(): Do not set a default log file if the cluster
uses syslog for logging. Thanks Antti Merenluoto!
* debian/supported-versions: Add Ubuntu 9.10.
* t/030_errors.t: Fix "invalid pg_hba.conf" test for translated PostgreSQL
error message.
-- Martin Pitt <mpitt@debian.org> Sun, 28 Jun 2009 20:07:10 +0200
......
......@@ -192,7 +192,7 @@ if ($version lt '8.4') {
is_program_out 'postgres', "pg_ctlcluster $version main stop", 0, '', 'stopping cluster';
} else {
like_program_out 'postgres', "pg_ctlcluster $version main start", 1,
qr/FATAL.*could not load pg_hba.conf/is,
qr/FATAL.*pg_hba.conf/is,
'pg_ctlcluster start fails on invalid pg_hba.conf';
is_program_out 'postgres', "pg_ctlcluster $version main stop", 2,
"Cluster is not running.\n", 'stopping cluster';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment