From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@postgresql.org
Subject: pgsql: Fix TAP tests to use only standard command-line argument orderin
Date: Sat, 04 Apr 2015 17:34:36 +0000
Message-ID: <E1YeRxs-0007NO-MO@gemulon.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
Fix TAP tests to use only standard command-line argument ordering.
Some of the TAP tests were supposing that PG programs would accept switches
after non-switch arguments on their command lines. While GNU getopt_long()
does allow that, our own implementation does not, and it's nowhere
suggested in our documentation that such cases should work. Adjust the
tests to use only the documented syntax.
Back-patch to 9.4, since without this the TAP tests fail when run with
src/port's getopt_long() implementation.
Michael Paquier
Branch
------
REL9_4_STABLE
Details
-------
http://git.postgresql.org/pg/commitdiff/406b2f0b4cbd1aa68334c2ed182e20e11cf47c62
Modified Files
--------------
src/bin/initdb/t/001_initdb.pl | 8 ++++----
src/bin/scripts/t/010_clusterdb.pl | 2 +-
src/bin/scripts/t/020_createdb.pl | 2 +-
src/bin/scripts/t/090_reindexdb.pl | 7 +++----
4 files changed, 9 insertions(+), 10 deletions(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: tgl@sss.pgh.pa.us
Subject: Re: pgsql: Fix TAP tests to use only standard command-line argument orderin
In-Reply-To: <E1YeRxs-0007NO-MO@gemulon.postgresql.org>
References: <E1YeRxs-0007NO-MO@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