Skip to content

Commit 9e35dd0

Browse files
author
Michael Paquier
committed
Adapt output of regressions with new options and "show" output
Because of that two regression tests were failing: - option - show_validate
1 parent fd8bde8 commit 9e35dd0

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

expected/option.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ Usage:
66
pg_rman OPTION backup
77
pg_rman OPTION restore
88
pg_rman OPTION show [DATE]
9-
pg_rman OPTION show timeline [DATE]
109
pg_rman OPTION validate [DATE]
1110
pg_rman OPTION delete DATE
1211

@@ -16,6 +15,7 @@ Common Options:
1615
-S, --srvlog-path=PATH location of server log storage area
1716
-B, --backup-path=PATH location of the backup storage area
1817
-c, --check show what would have been done
18+
-v, --verbose output process information
1919

2020
Backup options:
2121
-b, --backup-mode=MODE full, incremental, or archive

expected/show_validate.out

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
\! rm -rf ${PWD}/results/sample_backup
33
\! cp -rp data/sample_backup ${PWD}/results/sample_backup
44
\! pg_rman show -B ${PWD}/results/sample_backup
5-
============================================================================
6-
Start Time Total Data WAL Log Backup Status
7-
============================================================================
8-
2009-06-03 17:05:53 0m ---- ---- ---- ---- ---- RUNNING
9-
2009-06-01 17:05:53 3m ---- 9223PB 16MB ---- 162MB DONE
10-
2009-05-31 17:05:53 3m 1242MB ---- 9223PB ---- 242MB DONE
5+
===========================================================================================================
6+
Start Mode Current TLI Parent TLI Time Total Data WAL Log Backup Status
7+
===========================================================================================================
8+
2009-06-03 17:05:53 FULL 1 0 0m ---- ---- ---- ---- ---- RUNNING
9+
2009-06-01 17:05:53 INCR 1 0 3m ---- 9223PB 16MB ---- 162MB DONE
10+
2009-05-31 17:05:53 FULL 1 0 3m 1242MB ---- 9223PB ---- 242MB DONE
1111
\! pg_rman validate -B ${PWD}/results/sample_backup 2009-05-31 17:05:53 --debug
1212
INFO: validate: 2009-05-31 17:05:53 backup and archive log files by CRC
1313
LOG: database files...
@@ -22,13 +22,13 @@ WARNING: CRC of backup file "PG_VERSION" must be 0 but FEF71BC1
2222
LOG: archive WAL files...
2323
WARNING: backup 2009-06-01 17:05:53 is corrupted
2424
\! pg_rman show -a -B ${PWD}/results/sample_backup
25-
============================================================================
26-
Start Time Total Data WAL Log Backup Status
27-
============================================================================
28-
2009-06-03 17:05:53 0m ---- ---- ---- ---- ---- RUNNING
29-
2009-06-02 17:05:03 0m ---- ---- ---- 4335kB 162MB DELETED
30-
2009-06-01 17:05:53 3m ---- 9223PB 16MB ---- 162MB CORRUPT
31-
2009-05-31 17:05:53 3m 1242MB ---- 9223PB ---- 242MB OK
25+
===========================================================================================================
26+
Start Mode Current TLI Parent TLI Time Total Data WAL Log Backup Status
27+
===========================================================================================================
28+
2009-06-03 17:05:53 FULL 1 0 0m ---- ---- ---- ---- ---- RUNNING
29+
2009-06-02 17:05:03 ARCH 1 0 0m ---- ---- ---- 4335kB 162MB DELETED
30+
2009-06-01 17:05:53 INCR 1 0 3m ---- 9223PB 16MB ---- 162MB CORRUPT
31+
2009-05-31 17:05:53 FULL 1 0 3m 1242MB ---- 9223PB ---- 242MB OK
3232
\! pg_rman show 2009-06-01 17:05:53 -B ${PWD}/results/sample_backup
3333
# configuration
3434
BACKUP_MODE=INCREMENTAL

0 commit comments

Comments
 (0)