Fix one hint message in 002_pg_upgrade.pl - Mailing list pgsql-hackers

From Zhijie Hou (Fujitsu)
Subject Fix one hint message in 002_pg_upgrade.pl
Date
Msg-id TYAPR01MB5724A40D47E71F4717357EC694D5A@TYAPR01MB5724.jpnprd01.prod.outlook.com
Whole thread Raw
Responses Re: Fix one hint message in 002_pg_upgrade.pl
List pgsql-hackers
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


Attachment

pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: run pgindent on a regular basis / scripted manner
Next
From: Magnus Hagander
Date:
Subject: Re: run pgindent on a regular basis / scripted manner