Skip to content

Commit d611175

Browse files
committed
Don't do pg_ctl logrotate test on Windows
The test crashes and burns quite badly, for some reason, but even if it didn't it wouldn't work, since Windows doesn't let you rename a file held by a running process.
1 parent 80b9e9c commit d611175

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/bin/pg_ctl/t/004_logrotate.pl

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,17 @@
66
use Test::More tests => 1;
77
use Time::HiRes qw(usleep);
88

9+
if ($windows_os)
10+
{
11+
plan skip_all => 'logrotate test not supported on Windows';
12+
exit;
13+
}
14+
else
15+
{
16+
plan tests => 1;
17+
}
18+
19+
920
my $tempdir = TestLib::tempdir;
1021

1122
my $node = get_new_node('primary');

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