pg_amcheck: Keep trying to fix the tests.
authorTom Lane <[email protected]>
Sat, 13 Mar 2021 05:06:56 +0000 (00:06 -0500)
committerTom Lane <[email protected]>
Sat, 13 Mar 2021 05:06:56 +0000 (00:06 -0500)
Fix another example of non-portable option ordering in the tests.
Oversight in 24189277f.

Mark Dilger

Discussion: https://postgr.es/m/C37D28BA-3BA3-4776-B812-17F05F3472D8@enterprisedb.com

src/bin/pg_amcheck/t/003_check.pl

index 0a7795bb64db41499a83a5ab9eaa8042ac207dd2..54b2b86a49bbfd26b831bfe5a8511278b6e30655 100644 (file)
@@ -468,7 +468,7 @@ command_fails_like(
    'pg_amcheck rejects garbage startblock');
 
 command_fails_like(
-   [ @cmd, 'db1', '-s', 's5', '--endblock', '1234junk' ],
+   [ @cmd, '-s', 's5', '--endblock', '1234junk', 'db1' ],
    qr/invalid end block/,
    'pg_amcheck rejects garbage endblock');