]> granicus.if.org Git - postgresql/commit
In SSL tests, don't scribble on permissions of a repo file.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 16 May 2017 03:27:51 +0000 (23:27 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 16 May 2017 03:27:51 +0000 (23:27 -0400)
commit21c2c3d75e888a578176616aa1411552f43b4908
tree511888fe00e58e52e069f9375169ff42714aa1c1
parentb35cce914cd3eef7d4a2471073c80f709d724e5a
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