In SSL tests, don't scribble on permissions of a repo file.
Tom Lane <tgl@sss.pgh.pa.us>
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
| Path | Change | +/− |
|---|---|---|
| src/test/ssl/ssl/.gitignore | modified | +3 −2 |
| src/test/ssl/t/001_ssltests.pl | modified | +10 −7 |
Discussion
- src/test/ssl/t/001_ssltests.pl should not tromp on file permissions 3 messages · 2017-05-15 → 2017-05-16