diff options
| author | Andrew Dunstan | 2019-09-30 19:48:54 +0000 |
|---|---|---|
| committer | Andrew Dunstan | 2019-09-30 19:51:14 +0000 |
| commit | 863fa43e32b02963f240864245c6c922f619459f (patch) | |
| tree | 7bb451efbd0436f3ddc4a3562d904ea681cd3ea1 | |
| parent | 5daf682cfc974bf9095be527603c6410921892a9 (diff) | |
Suppress another CR in program output
This one was exposed by a12c75a10.
Backpatch to release 11 where check_pg_config was introduced.
| -rw-r--r-- | src/test/perl/TestLib.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/perl/TestLib.pm b/src/test/perl/TestLib.pm index 92199792eba..905d0d178ff 100644 --- a/src/test/perl/TestLib.pm +++ b/src/test/perl/TestLib.pm @@ -560,6 +560,7 @@ sub check_pg_config \$stdout, '2>', \$stderr or die "could not execute pg_config"; chomp($stdout); + $stdout =~ s/\r$//; open my $pg_config_h, '<', "$stdout/pg_config.h" or die "$!"; my $match = (grep { /^$regexp/ } <$pg_config_h>); |
