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:03 -0400 |
commit | b81a82e395ac2fa322292802a155d28c7a372b21 (patch) | |
tree | 1532a2db781f4acb213dc670faf665e6131fb113 | |
parent | 51ad5b9bd3e317b0f6ffebaedbac23c9913269bf (diff) | |
download | postgresql-b81a82e395ac2fa322292802a155d28c7a372b21.tar.gz postgresql-b81a82e395ac2fa322292802a155d28c7a372b21.zip |
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 da7da60193d..d6fe26c0369 100644 --- a/src/test/perl/TestLib.pm +++ b/src/test/perl/TestLib.pm @@ -382,6 +382,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>); |