In SSL tests, don't scribble on permissions of a repo file.
authorTom Lane
Tue, 16 May 2017 03:27:51 +0000 (23:27 -0400)
committerTom Lane
Tue, 16 May 2017 03:27:51 +0000 (23:27 -0400)
commitce80240a7d3a0732cf36fe5068e5899a89c1f7ff
tree0125eb14d279d56ec446b6ca7b20cbce6801ed24
parent53a1aa9f9a6f3711ff5766beca135ddce3f3b4ad
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
src/test/ssl/ssl/.gitignore
src/test/ssl/t/001_ssltests.pl