mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2025-01-09 14:45:47 +02:00
6de8b16403
This new facility has the advantage on not relying on static data when generating the tests making the whole facility more robust. This is basically taken from the upstream project pg_rman and adapted for the sake of this pet project, so most of the credit go to Kyotaro Horiguchi and Amit Langote regarding this facility. However I have adapted a bunch of things and fixed a lot of redundancy and code duplication.
34 lines
928 B
Plaintext
34 lines
928 B
Plaintext
\! bash sql/show.sh
|
|
###### SHOW COMMAND TEST-0001 ######
|
|
###### Status DONE and OK ######
|
|
NOTICE: pg_stop_backup complete, all required WAL segments have been archived
|
|
0
|
|
OK: DONE status is shown properly.
|
|
0
|
|
OK: OK status is shown properly.
|
|
|
|
###### SHOW COMMAND TEST-0002 ######
|
|
###### Status RUNNING ######
|
|
OK: RUNNING status is shown properly.
|
|
NOTICE: pg_stop_backup complete, all required WAL segments have been archived
|
|
|
|
###### SHOW COMMAND TEST-0003 ######
|
|
###### Status CORRUPT ######
|
|
NOTICE: pg_stop_backup complete, all required WAL segments have been archived
|
|
0
|
|
remove a file from backup intentionally
|
|
0
|
|
OK: CORRUPT status is shown properly.
|
|
|
|
###### SHOW COMMAND TEST-0004 ######
|
|
###### Status DELETED ######
|
|
NOTICE: pg_stop_backup complete, all required WAL segments have been archived
|
|
0
|
|
0
|
|
NOTICE: pg_stop_backup complete, all required WAL segments have been archived
|
|
0
|
|
0
|
|
0
|
|
OK: DELETED status is shown properly.
|
|
|