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

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

Commit: 91102dab44c3406f21bbbc28c1032d49e0721710
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2017-05-16T03:27:51Z
Releases: 10.0
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