]> granicus.if.org Git - postgresql/commit
Fix assorted portability issues in new pgbench TAP tests.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 8 Sep 2017 15:28:02 +0000 (11:28 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 8 Sep 2017 15:28:02 +0000 (11:28 -0400)
commit869aa40a27fa4908ad4112f1079bf732d1a12e13
treeb8eefe9032d12d244d7a6311982ae42a665df56d
parented8a7c6fcf92b6b57ed8003bbd4a4eb92a6039bc
Fix assorted portability issues in new pgbench TAP tests.

* Our own version of getopt_long doesn't support abbreviation of
long options.

* It doesn't do automatic rearrangement of non-option arguments to the end,
either.

* Test was way too optimistic about the platform independence of
NaN and Infinity outputs.  I rather imagine we might have to lose
those tests altogether, but for the moment just allow case variation
and fully spelled out Infinity.

Per buildfarm.
src/bin/pgbench/t/001_pgbench_with_server.pl
src/bin/pgbench/t/002_pgbench_no_server.pl