Fix a typo in 005_char_signedness.pl test.
authorMasahiko Sawada <msawada@postgresql.org>
Wed, 26 Feb 2025 19:10:03 +0000 (11:10 -0800)
committerMasahiko Sawada <msawada@postgresql.org>
Wed, 26 Feb 2025 19:10:03 +0000 (11:10 -0800)
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 <ilmari@ilmari.org>
Discussion: https://postgr.es/m/87tt8h1vb7.fsf@wibble.ilmari.org

src/bin/pg_upgrade/t/005_char_signedness.pl

index c024106863ebc1b51180b36e6a9c63c86341e724..b3092f03bb73a793e31864d108a498d3b081502f 100644 (file)
@@ -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'