From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add error pattern checks for some TAP tests for non-existing obj
Date: Thu, 23 Jan 2025 07:04:28 +0000
Message-ID: <E1tarGO-00333l-NE@gemulon.postgresql.org> (raw)
Add error pattern checks for some TAP tests for non-existing objects
Some tests are updated to use command_fails_like(), gaining a check for
the error output generated. The test changed in pg_amcheck has come up
after noticing that an incorrect option name still made the test to
pass, while the command failed. The three other tests changed in
src/bin/scripts/ have been noticed by me, in passing.
Author: Dagfinn Ilmari Mannsåker, Michael Paquier
Discussion: https://postgr.es/m/87bjvy50cs.fsf@wibble.ilmari.org
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/eef4a33f62f7300765b5ffa8c966fa2fba50d176
Modified Files
--------------
src/bin/pg_amcheck/t/002_nonesuch.pl | 5 ++++-
src/bin/scripts/t/010_clusterdb.pl | 4 +++-
src/bin/scripts/t/050_dropdb.pl | 4 +++-
src/bin/scripts/t/070_dropuser.pl | 4 +++-
4 files changed, 13 insertions(+), 4 deletions(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-committers@postgresql.org
Cc: michael@paquier.xyz, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Add error pattern checks for some TAP tests for non-existing obj
In-Reply-To: <E1tarGO-00333l-NE@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox