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

Commit9daefff

Browse files
committed
MSYS: Translate REGRESS_SHLIB to a Windows file name.
Per buildfarm member jacana. Back-patch to v11; earlier branches skipthe affected test under msys.Discussion:https://postgr.es/m/GrdLgAdUK9FdyZg8VIcTDKVOkys122ZINEb3CjjoySfGj2KyPiMKTh1zqtRp0TAD7FJ27G-OBB3eplxIB5GhcQH5o8zzGZfp0MuJaXJxVxk=@yesql.se
1 parent947a350 commit9daefff

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

‎src/test/recovery/t/017_shm.pl

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
#
44
use strict;
55
use warnings;
6+
use Config;
67
use IPC::Run'run';
78
use PostgresNode;
89
use Test::More;
@@ -11,6 +12,14 @@
1112

1213
plantests=> 5;
1314

15+
# See PostgresNode
16+
my$vfs_path ='';
17+
if ($Config{osname}eq'msys')
18+
{
19+
$vfs_path =`cd / && pwd -W`;
20+
chomp$vfs_path;
21+
}
22+
1423
my$tempdir = TestLib::tempdir;
1524
my$port;
1625

@@ -97,7 +106,7 @@ sub init_start
97106
$gnat->safe_psql('postgres',<<EOSQL);
98107
CREATE FUNCTION wait_pid(int)
99108
RETURNS void
100-
AS '$ENV{REGRESS_SHLIB}'
109+
AS '$vfs_path$ENV{REGRESS_SHLIB}'
101110
LANGUAGE C STRICT;
102111
EOSQL
103112
my$slow_query ='SELECT wait_pid(pg_backend_pid())';

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp