diff options
author | Andrew Dunstan <andrew@dunslane.net> | 2019-09-30 15:48:54 -0400 |
---|---|---|
committer | Andrew Dunstan <andrew@dunslane.net> | 2019-09-30 15:51:14 -0400 |
commit | 863fa43e32b02963f240864245c6c922f619459f (patch) | |
tree | 7bb451efbd0436f3ddc4a3562d904ea681cd3ea1 /src/test/perl/TestLib.pm | |
parent | 5daf682cfc974bf9095be527603c6410921892a9 (diff) | |
download | postgresql-863fa43e32b02963f240864245c6c922f619459f.tar.gz |
Suppress another CR in program output
This one was exposed by a12c75a10.
Backpatch to release 11 where check_pg_config was introduced.
Diffstat (limited to 'src/test/perl/TestLib.pm')
-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 92199792eb..905d0d178f 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>); |