summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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');