mirror of
https://github.com/postgres/postgres.git
synced 2026-05-28 04:35:45 -04:00
Fix new test with comma in build directory.
Quote pg_hosts.conf fields derived from the build directory, since
hba.c:next_token() treats a comma as a token separator. Commit
4f433025f6 introduced pg_hosts.conf and
this test. A build directory name containing a comma worked before that
commit. A build directory name containing a quote character has not
worked, so don't handle that.
Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
Discussion: https://postgr.es/m/20260426213252.7a@rfd.leadboat.com
This commit is contained in:
parent
7d7e58feef
commit
f9c638054c
1 changed files with 2 additions and 2 deletions
|
|
@ -90,8 +90,8 @@ ssl_sni = on
|
|||
});
|
||||
$node->append_conf(
|
||||
'pg_hosts.conf', qq{
|
||||
example.org $ddir/server.crt $ddir/server.key "" "echo FooBaR1" on
|
||||
example.com $ddir/server.crt $ddir/server.key "" "echo FooBaR1" on
|
||||
example.org "$ddir/server.crt" "$ddir/server.key" "" "echo FooBaR1" on
|
||||
example.com "$ddir/server.crt" "$ddir/server.key" "" "echo FooBaR1" on
|
||||
});
|
||||
|
||||
# If the servers starts and runs, the bad ssl_passphrase.passphrase was
|
||||
|
|
|
|||
Loading…
Reference in a new issue