Skip to content

Commit f4593bd

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 8d8dcea commit f4593bd

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

+2-3
Original file line numberDiff line numberDiff line change
@@ -879,10 +879,9 @@ sub check_pgbench_logs
879879

880880
my ($prefix, $nb, $min, $max, $re) = @_;
881881

882-
my $qprefix = quotemeta($prefix);
883-
my @logs = glob "$qprefix.*";
882+
my @logs = glob "$prefix.*";
884883
ok(@logs == $nb, "number of log files");
885-
ok(grep(/^$qprefix\.\d+(\.\d+)?$/, @logs) == $nb, "file name format");
884+
ok(grep(/^$prefix\.\d+(\.\d+)?$/, @logs) == $nb, "file name format");
886885

887886
my $log_number = 0;
888887
for my $log (sort @logs)

0 commit comments

Comments
 (0)