Minor cleanups in the SSL tests - Mailing list pgsql-hackers

From Daniel Gustafsson
Subject Minor cleanups in the SSL tests
Date
Msg-id 01F4684C-8C98-4BBE-AB83-AC8D7C746AF8@yesql.se
Whole thread Raw
Responses Re: Minor cleanups in the SSL tests
List pgsql-hackers
When writing a new SSL test for another patch it struck me that the SSL tests
are doing configuration management without using the test framework API's.  The
attached patches cleans this up, no testcases are altered as part of this.

0001 makes the test for PG_TEST_EXTRA a top-level if statement not attached to
any other conditional.  There is no change in functionality, it's mainly for
readability (PG_TEST_EXTRA is it's own concept, not tied to library presence).

0002 ports over editing configfiles to using append_conf() instead of opening
and writing to them directly.

--
Daniel Gustafsson


Attachment

pgsql-hackers by date:

Previous
From: Peter Smith
Date:
Subject: Re: Docs: Always use true|false instead of sometimes on|off for the subscription options
Next
From: Andrei Lepikhov
Date:
Subject: Re: POC: GROUP BY optimization