]> 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)
commit91102dab44c3406f21bbbc28c1032d49e0721710
tree45e37140901b05199b3871bf3107f7ae76bc033f
parent6accefd46639db9f20bcc4c2e15c9844bae0d184
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