projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d8dcea
)
Revert "Fix under-quoted filename pattern in pgbench TAP test."
author
Tom Lane
<
[email protected]
>
Mon, 21 Jan 2019 16:28:03 +0000
(11:28 -0500)
committer
Tom Lane
<
[email protected]
>
Mon, 21 Jan 2019 16:28:03 +0000
(11:28 -0500)
This reverts commit
458a1244f1fcf407874482a93b7631ecf5303d6e
.
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
src/bin/pgbench/t/001_pgbench_with_server.pl
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/pgbench/t/001_pgbench_with_server.pl
b/src/bin/pgbench/t/001_pgbench_with_server.pl
index 17323e6ca5201d74cac7324b4db6961fddb4f5ad..c87748086ab4a1a0d74f30826356f45fc403d7d1 100644
(file)
--- a/
src/bin/pgbench/t/001_pgbench_with_server.pl
+++ b/
src/bin/pgbench/t/001_pgbench_with_server.pl
@@
-879,10
+879,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(/^$
q
prefix\.\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)