pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Fix TAP tests to use only standard command-line argument orderin 2+ messages / 1 participants [nested] [flat]
* pgsql: Fix TAP tests to use only standard command-line argument orderin @ 2015-04-04 17:34 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 2+ messages in thread From: Tom Lane @ 2015-04-04 17:34 UTC (permalink / raw) To: 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(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 2+ messages in thread
* pgsql: Fix TAP tests to use only standard command-line argument orderin @ 2015-04-04 17:34 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 2+ messages in thread From: Tom Lane @ 2015-04-04 17:34 UTC (permalink / raw) To: 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 ------ 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 ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2015-04-04 17:34 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2015-04-04 17:34 pgsql: Fix TAP tests to use only standard command-line argument orderin Tom Lane <tgl@sss.pgh.pa.us> 2015-04-04 17:34 pgsql: Fix TAP tests to use only standard command-line argument orderin Tom Lane <tgl@sss.pgh.pa.us>
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