Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
15c3a1b4
Commit
15c3a1b4
authored
Aug 11, 2015
by
Andrew Dunstan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More fixes to allow pg_rewind tests to run on Msys.
parent
6fcd8851
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
src/bin/pg_rewind/RewindTest.pm
src/bin/pg_rewind/RewindTest.pm
+3
-0
src/bin/pg_rewind/t/004_pg_xlog_symlink.pl
src/bin/pg_rewind/t/004_pg_xlog_symlink.pl
+2
-2
No files found.
src/bin/pg_rewind/RewindTest.pm
View file @
15c3a1b4
...
...
@@ -40,6 +40,7 @@ use warnings;
use
TestLib
;
use
Test::
More
;
use
Config
;
use
File::
Copy
;
use
File::
Path
qw(rmtree)
;
use
IPC::
Run
qw(run start)
;
...
...
@@ -119,6 +120,7 @@ sub check_query
}
else
{
$stdout
=~
s/\r//g
if
$Config
{
osname
}
eq
'
msys
';
is
(
$stdout
,
$expected_stdout
,
"
$test_name
: query result matches
");
}
}
...
...
@@ -138,6 +140,7 @@ sub poll_query_until
my
$result
=
run
$cmd
,
'
>
',
\
$stdout
,
'
2>
',
\
$stderr
;
chomp
(
$stdout
);
$stdout
=~
s/\r//g
if
$Config
{
osname
}
eq
'
msys
';
if
(
$stdout
eq
"
t
")
{
return
1
;
...
...
src/bin/pg_rewind/t/004_pg_xlog_symlink.pl
View file @
15c3a1b4
...
...
@@ -4,7 +4,7 @@
use
strict
;
use
warnings
;
use
File::
Copy
;
use
File::
Path
qw(r
emove_
tree)
;
use
File::
Path
qw(r
m
tree)
;
use
TestLib
;
use
Test::
More
;
if
(
$windows_os
)
...
...
@@ -25,7 +25,7 @@ sub run_test
my
$master_xlogdir
=
"
$tmp_check
/xlog_master
";
r
emove_
tree
(
$master_xlogdir
);
r
m
tree
(
$master_xlogdir
);
RewindTest::
setup_cluster
();
# turn pg_xlog into a symlink
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment