diff options
Diffstat (limited to 'src/bin/pg_walsummary/t/002_blocks.pl')
-rw-r--r-- | src/bin/pg_walsummary/t/002_blocks.pl | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/bin/pg_walsummary/t/002_blocks.pl b/src/bin/pg_walsummary/t/002_blocks.pl index 52d3bd8840b..a3e3aebd320 100644 --- a/src/bin/pg_walsummary/t/002_blocks.pl +++ b/src/bin/pg_walsummary/t/002_blocks.pl @@ -74,15 +74,15 @@ SELECT tli, start_lsn, end_lsn from pg_available_wal_summaries() WHERE end_lsn > '$summarized_lsn' EOM my @lines = split(/\n/, $details); -is(0+@lines, 1, "got exactly one new WAL summary"); +is(0 + @lines, 1, "got exactly one new WAL summary"); my ($tli, $start_lsn, $end_lsn) = split(/\|/, $lines[0]); note("examining summary for TLI $tli from $start_lsn to $end_lsn"); # Reconstruct the full pathname for the WAL summary file. my $filename = sprintf "%s/pg_wal/summaries/%08s%08s%08s%08s%08s.summary", - $node1->data_dir, $tli, - split(m@/@, $start_lsn), - split(m@/@, $end_lsn); + $node1->data_dir, $tli, + split(m@/@, $start_lsn), + split(m@/@, $end_lsn); ok(-f $filename, "WAL summary file exists"); # Run pg_walsummary on it. We expect exactly two blocks to be modified, @@ -92,6 +92,6 @@ note($stdout); @lines = split(/\n/, $stdout); like($stdout, qr/FORK main: block 0$/m, "stdout shows block 0 modified"); is($stderr, '', 'stderr is empty'); -is(0+@lines, 2, "UPDATE modified 2 blocks"); +is(0 + @lines, 2, "UPDATE modified 2 blocks"); done_testing(); |