forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitff8b37b
committed
Add more regression tests for pg_ls_dir()
This system function was being triggered once in the main regressiontest suite to check its SRF configuration, and more in other testmodules but nothing checked the behavior of the options missing_ok andinclude_dot_dirs. This commit adds some tests for both options, toavoid mistakes if this code is manipulated in the future.Extracted from a larger patch by the same author, with a few tweaks byme.Author: Justin PryzbyDiscussion:https://postgr.es/m/20191227170220.GE12890@telsasoft.com1 parentc6f2f01 commitff8b37b
File tree
2 files changed
+31
-0
lines changed- src/test/regress
- expected
- sql
2 files changed
+31
-0
lines changedLines changed: 23 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
378 | 378 |
| |
379 | 379 |
| |
380 | 380 |
| |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
381 | 404 |
| |
382 | 405 |
| |
383 | 406 |
| |
|
Lines changed: 8 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
124 | 124 |
| |
125 | 125 |
| |
126 | 126 |
| |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
127 | 135 |
| |
128 | 136 |
| |
129 | 137 |
| |
|
0 commit comments
Comments
(0)