From cc2c9fa6960c4abd5e4f4bcafb35fd3ba7b5ee98 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Tue, 4 Feb 2025 15:51:42 +0100 Subject: [PATCH] sepgsql: update TAP test to use fat comma style MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- contrib/sepgsql/t/001_sepgsql.pl | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) 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'); -- 2.39.5