aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/bin/pg_basebackup/t/020_pg_receivewal.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/pg_basebackup/t/020_pg_receivewal.pl b/src/bin/pg_basebackup/t/020_pg_receivewal.pl
index 47c4ecb073b..950083d21c8 100644
--- a/src/bin/pg_basebackup/t/020_pg_receivewal.pl
+++ b/src/bin/pg_basebackup/t/020_pg_receivewal.pl
@@ -111,7 +111,7 @@ SKIP:
# of the previous partial, now-completed WAL segment is updated, keeping
# its base number.
$partial_wals[0] =~ s/\.partial$/.gz/;
- is($zlib_wals[0] =~ m/$partial_wals[0]/,
+ is($zlib_wals[0] eq $partial_wals[0],
1, "one partial WAL segment is now completed");
# Update the list of partial wals with the current one.
@partial_wals = @zlib_partial_wals;