summaryrefslogtreecommitdiff
path: root/src/test/perl/PostgreSQL/Test/Kerberos.pm
diff options
context:
space:
mode:
authorMichael Paquier2025-03-17 03:42:23 +0000
committerMichael Paquier2025-03-17 03:42:23 +0000
commit19c6e92b13b2336d1db1b236457ab15d0894b506 (patch)
tree672b72d1e75f47fbbe28db3326267804c6af6dcf /src/test/perl/PostgreSQL/Test/Kerberos.pm
parent5721e5453ebc59360b6756fe72d7499c4a02177c (diff)
Apply more consistent style for command options in TAP tests
This commit reshapes the grammar of some commands to apply a more consistent style across the board, following rules similar to ce1b0f9da03e: - Elimination of some pointless used-once variables. - Use of long options, to self-document better the options used. - Use of fat commas to link option names and their assigned values, including redirections, so as perltidy can be tricked to put them together. Author: Dagfinn Ilmari MannsÃ¥ker <[email protected]> Discussion: https://postgr.es/m/[email protected]
Diffstat (limited to 'src/test/perl/PostgreSQL/Test/Kerberos.pm')
-rw-r--r--src/test/perl/PostgreSQL/Test/Kerberos.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/perl/PostgreSQL/Test/Kerberos.pm b/src/test/perl/PostgreSQL/Test/Kerberos.pm
index 118ea1e103e..b72dd2fbaf4 100644
--- a/src/test/perl/PostgreSQL/Test/Kerberos.pm
+++ b/src/test/perl/PostgreSQL/Test/Kerberos.pm
@@ -104,7 +104,7 @@ sub new
my ($host, $hostaddr, $realm) = @_;
my ($stdout, $krb5_version);
- run_log [ $krb5_config, '--version' ], '>', \$stdout
+ run_log [ $krb5_config, '--version' ], '>' => \$stdout
or BAIL_OUT("could not execute krb5-config");
BAIL_OUT("Heimdal is not supported") if $stdout =~ m/heimdal/;
$stdout =~ m/Kerberos 5 release ([0-9]+\.[0-9]+)/