Revert "Fix under-quoted filename pattern in pgbench TAP test."

This reverts commit 458a1244f1.
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
This commit is contained in:
Tom Lane 2019-01-21 11:28:03 -05:00
parent b10e3bba86
commit 93f80cc2d7
1 changed files with 2 additions and 3 deletions

View File

@ -800,10 +800,9 @@ sub check_pgbench_logs
{
my ($prefix, $nb, $min, $max, $re) = @_;
my $qprefix = quotemeta($prefix);
my @logs = glob "$qprefix.*";
my @logs = glob "$prefix.*";
ok(@logs == $nb, "number of log files");
ok(grep(/^$qprefix\.\d+(\.\d+)?$/, @logs) == $nb, "file name format");
ok(grep(/^$prefix\.\d+(\.\d+)?$/, @logs) == $nb, "file name format");
my $log_number = 0;
for my $log (sort @logs)