summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut2025-02-04 14:51:42 +0000
committerPeter Eisentraut2025-02-04 14:51:42 +0000
commitcc2c9fa6960c4abd5e4f4bcafb35fd3ba7b5ee98 (patch)
tree91f597163bf6158fbe6acc6c2212db21d2b3baff
parenta051e71e28a12342a4fb39a3c149a197159f9c46 (diff)
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 <[email protected]> Discussion: https://www.postgresql.org/message-id/[email protected]
-rw-r--r--contrib/sepgsql/t/001_sepgsql.pl15
1 files 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');