In SSL tests, don't scribble on permissions of a repo file.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: ce80240a7d3a0732cf36fe5068e5899a89c1f7ff
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2017-05-16T03:27:51Z
Releases: 9.5.8
In SSL tests, don't scribble on permissions of a repo file.

Modifying the permissions of a persistent file isn't really much nicer
than modifying its contents, even if git doesn't currently notice it.
Adjust the test script to make a copy and set the permissions of that
instead.

Michael Paquier, per a gripe from me.  Back-patch to 9.5 where these
tests were introduced.

Discussion: https://postgr.es/m/14836.1494885946@sss.pgh.pa.us

Files

PathChange+/−
src/test/ssl/ssl/.gitignore modified +3 −2
src/test/ssl/t/001_ssltests.pl modified +10 −7

Discussion