Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf25000c

Browse files
committed
Fix more portability issues in new pgbench TAP tests.
Not completely sure, but I think bowerbird is spitting up on attemptingto include ">" in a temporary file name. (Why in the world are wewriting this stuff into files at all? A hash would be a better answer.)
1 parent6f6b99d commitf25000c

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 = 1if$stderr =~'threads are not supported on this platform';
135+
$nthreads = 1if$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 paramgreater 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)

[8]ページ先頭

©2009-2025 Movatter.jp