]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
sepgsql: update TAP test to use fat comma style
authorPeter Eisentraut <peter@eisentraut.org>
Tue, 4 Feb 2025 14:51:42 +0000 (15:51 +0100)
committerPeter Eisentraut <peter@eisentraut.org>
Tue, 4 Feb 2025 14:51:42 +0000 (15:51 +0100)
Adopt the style introduced by commit ce1b0f9da03 to this new test
file.

Author: Dagfinn Ilmari MannsÃ¥ker <ilmari@ilmari.org>
Discussion: https://www.postgresql.org/message-id/87y0yv2har.fsf@wibble.ilmari.org

contrib/sepgsql/t/001_sepgsql.pl

index cba5140351803e8a5df0f00e125ab76c83d3c393..c5fd725484162a6979e8a7e88465f30e16516bb3 100644 (file)
@@ -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');