forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitc91504b
committed
Move rolenames test out of the core regression tests.
This test script is unsafe to run in "make installcheck" mode for(at least) two reasons: it creates and destroys some role namesthat don't follow the "regress_xxx" naming convention, and itsets and then resets the application_name GUC attached to everyexisting role. While we've not had complaints, these surely arenot good things to do within a production installation, andregress.sgml pretty clearly implies that we won't do them.Rather than lose test coverage altogether, let's just move thisscript somewhere where it will get run by "make check" but not"make installcheck". src/test/modules/ already has that property.Since it seems likely that we'll want other regression tests infuture that also exceed the constraints of "make installcheck",create a generically-named src/test/modules/unsafe_tests/directory to hold them.Discussion:https://postgr.es/m/16638.1468620817@sss.pgh.pa.us1 parent2e81050 commitc91504b
File tree
8 files changed
+28
-2
lines changed- src/test
- modules
- unsafe_tests
- expected
- sql
- regress
8 files changed
+28
-2
lines changedLines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
19 | 19 |
| |
20 | 20 |
| |
21 | 21 |
| |
| 22 | + | |
22 | 23 |
| |
23 | 24 |
| |
24 | 25 |
|
Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + |
Lines changed: 14 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + |
Lines changed: 8 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + |
File renamed without changes.
File renamed without changes.
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
55 | 55 |
| |
56 | 56 |
| |
57 | 57 |
| |
58 |
| - | |
| 58 | + | |
59 | 59 |
| |
60 | 60 |
| |
61 | 61 |
| |
|
Lines changed: 0 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
77 | 77 |
| |
78 | 78 |
| |
79 | 79 |
| |
80 |
| - | |
81 | 80 |
| |
82 | 81 |
| |
83 | 82 |
| |
|
0 commit comments
Comments
(0)