Fix one hint message in 002_pg_upgrade.pl
Zhijie Hou (Fujitsu) <houzj.fnst@fujitsu.com>
From: "Zhijie Hou (Fujitsu)" <houzj.fnst@fujitsu.com>
To: PostgreSQL Developers <pgsql-hackers@lists.postgresql.org>
Date: 2023-10-18T07:27:45Z
Lists: pgsql-hackers
Attachments
- 0001-Fix-one-hint-message-in-002_pg_upgrade.pl.patch (application/octet-stream) patch 0001
Hi, There is one hint message in 002_pg_upgrade.pl that is not consistent with the testing purpose. # --check command works here, cleans up pg_upgrade_output.d. command_ok( [ 'pg_upgrade', '--no-sync', '-d', $oldnode->data_dir, ... ok(!-d $newnode->data_dir . "/pg_upgrade_output.d", - "pg_upgrade_output.d/ not removed after pg_upgrade --check success"); + "pg_upgrade_output.d/ removed after pg_upgrade --check success"); The test is to confirm the output file has been removed for pg_upgrade --check while the message here is not consistent. Attach a small patch to fix it. Best Regards, Hou Zhijie
Commits
-
pg_upgrade: Fix test name in 002_pg_upgrade.pl
- c4e561c1e029 15.5 landed
- 4277bcb30129 16.1 landed
- 3f9b1f26ca0e 17.0 landed