mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-27 08:39:28 +08:00
psql: Fix test
The test didn't work on platforms where getopt() doesn't support non-option arguments before options.
This commit is contained in:
parent
67c069848a
commit
d9ddc50baf
@ -40,5 +40,5 @@ $node->command_like([ 'psql', '-c', '\help SELECT' ], qr/SELECT/, '\help');
|
||||
|
||||
|
||||
# Test clean handling of unsupported replication command responses
|
||||
$node->command_fails_like([ 'psql', 'replication=database', '-c', 'START_REPLICATION 0/0' ],
|
||||
$node->command_fails_like([ 'psql', '-d', 'replication=database', '-c', 'START_REPLICATION 0/0' ],
|
||||
qr/^unexpected PQresultStatus: 8$/, 'handling of unexpected PQresultStatus');
|
||||
|
Loading…
Reference in New Issue
Block a user