git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 368b7c6) | patch
Fix TAP tests to use only standard command-line argument ordering.
Sat, 4 Apr 2015 17:34:23 +0000 (13:34 -0400)
Sat, 4 Apr 2015 17:34:23 +0000 (13:34 -0400)
commit c67a86f7da90c30b81f91957023fb752f06f0598
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
src/bin/initdb/t/001_initdb.pl diff | blob | blame | history
src/bin/scripts/t/010_clusterdb.pl diff | blob | blame | history
src/bin/scripts/t/020_createdb.pl diff | blob | blame | history
src/bin/scripts/t/090_reindexdb.pl diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /