diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2020-07-09 17:38:52 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2020-07-09 17:38:52 -0400 |
commit | 17b87b3049fa7e3ddc68bf9daaffa3b01d7b8be2 (patch) | |
tree | a9323693c7684884ccba570fe7846c813b618958 /src/bin/pg_rewind/t/RewindTest.pm | |
parent | 601d419b2b5def62a1867169e67c7ef876f0b886 (diff) | |
download | postgresql-17b87b3049fa7e3ddc68bf9daaffa3b01d7b8be2.tar.gz postgresql-17b87b3049fa7e3ddc68bf9daaffa3b01d7b8be2.zip |
Tighten up Windows CRLF conversion in our TAP test scripts.
Back-patch commits 91bdf499b and ffb4cee43, 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
Diffstat (limited to 'src/bin/pg_rewind/t/RewindTest.pm')
-rw-r--r-- | src/bin/pg_rewind/t/RewindTest.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/pg_rewind/t/RewindTest.pm b/src/bin/pg_rewind/t/RewindTest.pm index 7dabf395e10..77fa632ce9c 100644 --- a/src/bin/pg_rewind/t/RewindTest.pm +++ b/src/bin/pg_rewind/t/RewindTest.pm @@ -112,7 +112,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"); } return; |