Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 93f80cc

Browse files
committed
Revert "Fix under-quoted filename pattern in pgbench TAP test."
This reverts commit 458a124. It has portability problems on Windows, which will require a little bit of research to fix. Discussion: https://postgr.es/m/20202.1548035461@sss.pgh.pa.us
1 parent b10e3bb commit 93f80cc

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/bin/pgbench/t/001_pgbench_with_server.pl

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -800,10 +800,9 @@ sub check_pgbench_logs
800800
{
801801
my ($prefix, $nb, $min, $max, $re) = @_;
802802

803-
my $qprefix = quotemeta($prefix);
804-
my @logs = glob "$qprefix.*";
803+
my @logs = glob "$prefix.*";
805804
ok(@logs == $nb, "number of log files");
806-
ok(grep(/^$qprefix\.\d+(\.\d+)?$/, @logs) == $nb, "file name format");
805+
ok(grep(/^$prefix\.\d+(\.\d+)?$/, @logs) == $nb, "file name format");
807806

808807
my $log_number = 0;
809808
for my $log (sort @logs)

0 commit comments

Comments
 (0)