From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Fix TAP tests to use only standard command-line argument orderin |
Date: | 2015-04-04 17:34:36 |
Message-ID: | E1YeRxs-0007NN-MJ@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-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
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/c67a86f7da90c30b81f91957023fb752f06f0598
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 | 8 ++++----
4 files changed, 10 insertions(+), 10 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2015-04-04 23:55:58 | pgsql: Fix incorrect matching of subexpressions in outer-join plan node |
Previous Message | Robert Haas | 2015-04-04 02:45:29 | pgsql: Fix numeric abbreviation for --disable-float8-byval. |