From 945a9e3832c3ede20e2c575b796a4f16687a1949 Mon Sep 17 00:00:00 2001 From: Masahiko Sawada Date: Wed, 26 Feb 2025 11:10:03 -0800 Subject: [PATCH] Fix a typo in 005_char_signedness.pl test. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The test in 005_char_signedness.pl was missing a dash in the --set-char-signedness option. Although the test didn't fail since it doesn't check the error message, it resulted in an unexpected error message instead of the intended one. Oversight in 1aab680591. Author: Dagfinn Ilmari Mannsåker Discussion: https://postgr.es/m/87tt8h1vb7.fsf@wibble.ilmari.org --- src/bin/pg_upgrade/t/005_char_signedness.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/pg_upgrade/t/005_char_signedness.pl b/src/bin/pg_upgrade/t/005_char_signedness.pl index c024106863e..b3092f03bb7 100644 --- a/src/bin/pg_upgrade/t/005_char_signedness.pl +++ b/src/bin/pg_upgrade/t/005_char_signedness.pl @@ -51,7 +51,7 @@ command_fails( '-s', $new->host, '-p', $old->port, '-P', $new->port, - '-set-char-signedness', 'signed', + '--set-char-signedness', 'signed', $mode ], '--set-char-signedness option cannot be used for upgrading from v18 or later' -- 2.39.5