forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit50e1441
committed
Add TAP tests for pg_basebackup with compression
pg_basebackup is able to use gzip to compress the contents of backupswith the tar format, but there were no tests for that. This adds aminimalistic set of tests to check the contents of such base backups,including sanity checks on the contents generated with gzip commands.The tests are skipped if Postgres is compiled --without-zlib, and thechecks based on the gzip command are skipped if nothing can be found,following the same model as the existing tests for pg_receivewal.Reviewed-by: Georgios KokolatosDiscussion:https://postgr.es/m/Yb3GEgWwcu4wZDuA@paquier.xyz1 parent000f3ad commit50e1441
1 file changed
+36
-1
lines changedLines changed: 36 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
13 |
| - | |
| 13 | + | |
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
| |||
624 | 624 |
| |
625 | 625 |
| |
626 | 626 |
| |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
| 661 | + |
0 commit comments
Comments
(0)