git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: de91c3b)
pg_amcheck: Keep trying to fix the tests.
2021年3月13日 05:06:56 +0000 (00:06 -0500)
2021年3月13日 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


diff --git a/src/bin/pg_amcheck/t/003_check.pl b/src/bin/pg_amcheck/t/003_check.pl
index 0a7795bb64db41499a83a5ab9eaa8042ac207dd2..54b2b86a49bbfd26b831bfe5a8511278b6e30655 100644 (file)
--- a/src/bin/pg_amcheck/t/003_check.pl
+++ b/src/bin/pg_amcheck/t/003_check.pl
@@ -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');
This is the main PostgreSQL git repository.
RSS Atom

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