| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | pgsql-committers(at)postgresql(dot)org |
| Subject: | pgsql: In SSL tests, don't scribble on permissions of a repo file. |
| Date: | 2017-05-16 03:28:15 |
| Message-ID: | E1dAT9j-0005w1-IV@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
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
Branch
------
REL9_5_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/ce80240a7d3a0732cf36fe5068e5899a89c1f7ff
Modified Files
--------------
src/test/ssl/ssl/.gitignore | 5 +++--
src/test/ssl/t/001_ssltests.pl | 17 ++++++++++-------
2 files changed, 13 insertions(+), 9 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Peter Eisentraut | 2017-05-16 13:00:37 | pgsql: Fix new warnings from GCC 7 |
| Previous Message | Tom Lane | 2017-05-16 02:06:34 | pgsql: Update CREATE SUBSCRIPTION docs for recent syntax change. |