pg_amcheck: Try to fix still more test failures.
authorRobert Haas <[email protected]>
Sat, 13 Mar 2021 01:11:47 +0000 (20:11 -0500)
committerRobert Haas <[email protected]>
Sat, 13 Mar 2021 01:11:47 +0000 (20:11 -0500)
commit24189277f6ff3169b15c7bc82926a372ca7f2dbf
treed62da8fc449c3f21e674ab25e2dfcc8c0cf2796e
parentf371a4cdba6dc805acd608cc63a7089b57cb4e9e
pg_amcheck: Try to fix still more test failures.

Avoid use of non-portable option ordering in command_checks_all().
The use of bare command line arguments before switches doesn't work
everywhere.  Per buildfarm members drongo and hoverfly.

Avoid testing for the message "role \"%s\" does not exist", because
some buildfarm machines report a different error. fairywren complains
about "SSPI authentication failed for user \"%s\"", for example.

Mark Dilger

Discussion: http://postgr.es/m/9E76E46A-48B2-4869-BD0C-422204C1F767@enterprisedb.com
Discussion: http://postgr.es/m/F0A1FD70-A2F4-4528-8A03-8650CAEC0554%40enterprisedb.com
src/bin/pg_amcheck/t/002_nonesuch.pl
src/bin/pg_amcheck/t/003_check.pl