The test didn't work on platforms where getopt() doesn't support
non-option arguments before options.
# 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');