Fix path delimiters in connection string on Windows
authorDaniel Gustafsson <dgustafsson@postgresql.org>
Fri, 3 Dec 2021 10:41:17 +0000 (11:41 +0100)
committerDaniel Gustafsson <dgustafsson@postgresql.org>
Fri, 3 Dec 2021 10:41:17 +0000 (11:41 +0100)
commit49422ad0cc88c91a38522b2a7b222c2f2c939f82
treee306dd49e37b3d8cec6cf95ee978fae0c1ccfafb
parent557c39bba925d553c6bb12b5e80d1964d355583b
Fix path delimiters in connection string on Windows

The temporary path generated in commit c113d8ad5 cannot be passed as-is in
the connection string on Windows since the path delimiting backslashes will
be treated as escape characters. Fix by converting backslash to slash as in
similar path usecases in other tests.

Reported-by: Andres Freund <andres@anarazel.de>
Discussion: https://postgr.es/m/20211202195130.e7pprpsx4ell22sp@alap3.anarazel.de
src/test/ssl/t/001_ssltests.pl
src/test/ssl/t/002_scram.pl
src/test/ssl/t/003_sslinfo.pl