Skip to content

Commit 129b21c

Browse files
author
Michael Paquier
committed
Remove show timeline commands in regression tests
"show timeline" has actually been removed.
1 parent f6cc608 commit 129b21c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

sql/backup_restore.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -257,10 +257,10 @@ pg_ctl start -w -t 3600 > /dev/null 2>&1
257257
pg_dumpall > $BASE_PATH/results/dump_after_rtx.sql
258258
diff $BASE_PATH/results/dump_before_rtx.sql $BASE_PATH/results/dump_after_rtx.sql
259259

260-
# show timeline
261-
pg_rman -p $TEST_PGPORT show timeline --verbose -a -d postgres > $BASE_PATH/results/log_show_timeline_1 2>&1
262-
pg_rman -p $TEST_PGPORT show timeline `date +%Y` -a --verbose -d postgres > $BASE_PATH/results/log_show_timeline_2 2>&1
263-
pg_rman -p $TEST_PGPORT show timeline `date +%Y` --verbose -d postgres > $BASE_PATH/results/log_show_timeline_3 2>&1
260+
# show
261+
pg_rman -p $TEST_PGPORT show --verbose -a -d postgres > $BASE_PATH/results/log_show_timeline_1 2>&1
262+
pg_rman -p $TEST_PGPORT show `date +%Y` -a --verbose -d postgres > $BASE_PATH/results/log_show_timeline_2 2>&1
263+
pg_rman -p $TEST_PGPORT show `date +%Y` --verbose -d postgres > $BASE_PATH/results/log_show_timeline_3 2>&1
264264
echo "# of deleted backups (show all)"
265265
grep -c DELETED $BASE_PATH/results/log_show_timeline_2
266266
echo "# of deleted backups"
@@ -275,7 +275,7 @@ pg_rman -p $TEST_PGPORT delete `date "+%Y-%m-%d %T"` --debug -d postgres > $BASE
275275
pg_rman -p $TEST_PGPORT show `date +%Y` -a --verbose -d postgres > $BASE_PATH/results/log_show2 2>&1
276276
echo "# of deleted backups"
277277
grep -c DELETED $BASE_PATH/results/log_show2
278-
pg_rman -p $TEST_PGPORT show timeline `date +%Y` -a --verbose -d postgres > $BASE_PATH/results/log_show_timeline_4 2>&1
278+
pg_rman -p $TEST_PGPORT show `date +%Y` -a --verbose -d postgres > $BASE_PATH/results/log_show_timeline_4 2>&1
279279

280280
# cleanup
281281
pg_ctl stop -m immediate > /dev/null 2>&1

0 commit comments

Comments
 (0)