Apply more consistent style for command options in TAP tests
authorMichael Paquier <michael@paquier.xyz>
Mon, 17 Mar 2025 03:42:23 +0000 (12:42 +0900)
committerMichael Paquier <michael@paquier.xyz>
Mon, 17 Mar 2025 03:42:23 +0000 (12:42 +0900)
commit19c6e92b13b2336d1db1b236457ab15d0894b506
tree672b72d1e75f47fbbe28db3326267804c6af6dcf
parent5721e5453ebc59360b6756fe72d7499c4a02177c
Apply more consistent style for command options in TAP tests

This commit reshapes the grammar of some commands to apply a more
consistent style across the board, following rules similar to
ce1b0f9da03e:
- Elimination of some pointless used-once variables.
- Use of long options, to self-document better the options used.
- Use of fat commas to link option names and their assigned values,
including redirections, so as perltidy can be tricked to put them
together.

Author: Dagfinn Ilmari MannsÃ¥ker <ilmari@ilmari.org>
Discussion: https://postgr.es/m/87jz8rzf3h.fsf@wibble.ilmari.org
43 files changed:
contrib/auto_explain/t/001_auto_explain.pl
contrib/basebackup_to_shell/t/001_basic.pl
contrib/sepgsql/t/001_sepgsql.pl
src/bin/pg_archivecleanup/t/010_pg_archivecleanup.pl
src/bin/pg_resetwal/t/002_corrupted.pl
src/bin/pg_rewind/t/009_growing_files.pl
src/bin/pg_rewind/t/RewindTest.pm
src/bin/pg_upgrade/t/002_pg_upgrade.pl
src/bin/pg_upgrade/t/003_logical_slots.pl
src/bin/pg_upgrade/t/005_char_signedness.pl
src/bin/pg_verifybackup/t/002_algorithm.pl
src/bin/pg_verifybackup/t/003_corruption.pl
src/bin/pg_verifybackup/t/004_options.pl
src/bin/pg_verifybackup/t/008_untar.pl
src/bin/pg_verifybackup/t/009_extract.pl
src/bin/pg_verifybackup/t/010_client_untar.pl
src/bin/pg_waldump/t/001_basic.pl
src/bin/pgbench/t/001_pgbench_with_server.pl
src/bin/pgbench/t/002_pgbench_no_server.pl
src/bin/psql/t/001_basic.pl
src/bin/psql/t/020_cancel.pl
src/interfaces/libpq/t/001_uri.pl
src/interfaces/libpq/t/005_negotiate_encryption.pl
src/test/modules/commit_ts/t/003_standby_2.pl
src/test/modules/libpq_pipeline/t/001_libpq_pipeline.pl
src/test/modules/ssl_passphrase_callback/t/001_testfunc.pl
src/test/modules/test_pg_dump/t/001_base.pl
src/test/perl/PostgreSQL/Test/BackgroundPsql.pm
src/test/perl/PostgreSQL/Test/Cluster.pm
src/test/perl/PostgreSQL/Test/Kerberos.pm
src/test/perl/PostgreSQL/Test/Utils.pm
src/test/postmaster/t/002_connection_limits.pl
src/test/recovery/t/001_stream_rep.pl
src/test/recovery/t/006_logical_decoding.pl
src/test/recovery/t/013_crash_restart.pl
src/test/recovery/t/017_shm.pl
src/test/recovery/t/021_row_visibility.pl
src/test/recovery/t/022_crash_temp_files.pl
src/test/recovery/t/032_relfilenode_reuse.pl
src/test/recovery/t/035_standby_logical_decoding.pl
src/test/recovery/t/040_standby_failover_slots_sync.pl
src/test/recovery/t/041_checkpoint_at_promote.pl
src/tools/pg_bsd_indent/t/001_pg_bsd_indent.pl