Skip to content

Commit f25000c

Browse files
committed
Fix more portability issues in new pgbench TAP tests.
Not completely sure, but I think bowerbird is spitting up on attempting to include ">" in a temporary file name. (Why in the world are we writing this stuff into files at all? A hash would be a better answer.)
1 parent 6f6b99d commit f25000c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ sub pgbench
132132
{
133133
my ($stderr);
134134
run_log([ 'pgbench', '-j', '2', '--bad-option' ], '2>', \$stderr);
135-
$nthreads = 1 if $stderr =~ 'threads are not supported on this platform';
135+
$nthreads = 1 if $stderr =~ m/threads are not supported on this platform/;
136136
}
137137

138138
# run custom scripts
@@ -354,7 +354,7 @@ sub pgbench
354354
0,
355355
[qr{gaussian param.* at least 2}],
356356
q{\set i random_gaussian(0, 10, 1.0)} ],
357-
[ 'set exponential param > 0',
357+
[ 'set exponential param greater 0',
358358
0,
359359
[qr{exponential parameter must be greater }],
360360
q{\set i random_exponential(0, 10, 0.0)} ],

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy