From: Peter Eisentraut Date: Tue, 4 Feb 2025 14:51:42 +0000 (+0100) Subject: sepgsql: update TAP test to use fat comma style X-Git-Tag: REL_18_BETA1~955 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cc2c9fa6960c4abd5e4f4bcafb35fd3ba7b5ee98;p=thirdparty%2Fpostgresql.git sepgsql: update TAP test to use fat comma style Adopt the style introduced by commit ce1b0f9da03 to this new test file. Author: Dagfinn Ilmari Mannsåker Discussion: https://www.postgresql.org/message-id/87y0yv2har.fsf@wibble.ilmari.org --- diff --git a/contrib/sepgsql/t/001_sepgsql.pl b/contrib/sepgsql/t/001_sepgsql.pl index cba51403518..c5fd7254841 100644 --- a/contrib/sepgsql/t/001_sepgsql.pl +++ b/contrib/sepgsql/t/001_sepgsql.pl @@ -211,10 +211,10 @@ $node->append_conf('postgresql.conf', 'log_statement=none'); my $result = run_log( [ - 'postgres', '--single', - '-F', '-c', - 'exit_on_error=true', '-D', - $node->data_dir, 'template0' + 'postgres', '--single', '-F', + '-c' => 'exit_on_error=true', + '-D' => $node->data_dir, + 'template0' ], '<', $ENV{share_contrib_dir} . '/sepgsql.sql'); @@ -238,8 +238,11 @@ push @tests, 'truncate' if -f '/sys/fs/selinux/class/db_table/perms/truncate'; $node->command_ok( [ - $ENV{PG_REGRESS}, '--bindir=', '--inputdir=.', '--launcher', - './launcher', @tests + $ENV{PG_REGRESS}, + '--bindir' => '', + '--inputdir' => '.', + '--launcher' => './launcher', + @tests ], 'sepgsql tests');