mirror of
https://github.com/postgres/postgres.git
synced 2025-11-18 02:02:55 +03:00
Tighten up Windows CRLF conversion in our TAP test scripts.
Back-patch commits91bdf499bandffb4cee43, so that all branches agree on when and how to do Windows CRLF conversion. This should close the referenced thread. Thanks to Andrew Dunstan for discussion/review. Discussion: https://postgr.es/m/412ae8da-76bb-640f-039a-f3513499e53d@gmx.net
This commit is contained in:
@@ -107,7 +107,7 @@ sub check_query
|
||||
}
|
||||
else
|
||||
{
|
||||
$stdout =~ s/\r//g if $Config{osname} eq 'msys';
|
||||
$stdout =~ s/\r\n/\n/g if $Config{osname} eq 'msys';
|
||||
is($stdout, $expected_stdout, "$test_name: query result matches");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user