mirror of
https://github.com/postgres/postgres.git
synced 2025-08-05 07:41:25 +03:00
Remove most msys special processing in TAP tests
Following migration of Windows buildfarm members running TAP tests to use of ucrt64 perl for those tests, special processing for msys perl is no longer necessary and so is removed. Backpatch to release 10 Discussion: https://postgr.es/m/c65a8781-77ac-ea95-d185-6db291e1baeb@dunslane.net
This commit is contained in:
@@ -47,16 +47,7 @@ my $ctlcmd = [
|
||||
'pg_ctl', 'start', '-D', "$tempdir/data", '-l',
|
||||
"$PostgreSQL::Test::Utils::log_path/001_start_stop_server.log"
|
||||
];
|
||||
if ($Config{osname} ne 'msys')
|
||||
{
|
||||
command_like($ctlcmd, qr/done.*server started/s, 'pg_ctl start');
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
# use the version of command_like that doesn't hang on Msys here
|
||||
command_like_safe($ctlcmd, qr/done.*server started/s, 'pg_ctl start');
|
||||
}
|
||||
command_like($ctlcmd, qr/done.*server started/s, 'pg_ctl start');
|
||||
|
||||
# sleep here is because Windows builds can't check postmaster.pid exactly,
|
||||
# so they may mistake a pre-existing postmaster.pid for one created by the
|
||||
|
Reference in New Issue
Block a user