use TestLib;
use Test::More;
+use Config;
use File::Copy;
use File::Path qw(rmtree);
use IPC::Run qw(run start);
}
else
{
+ $stdout =~ s/\r//g if $Config{osname} eq 'msys';
is($stdout, $expected_stdout, "$test_name: query result matches");
}
}
my $result = run $cmd, '>', \$stdout, '2>', \$stderr;
chomp($stdout);
+ $stdout =~ s/\r//g if $Config{osname} eq 'msys';
if ($stdout eq "t")
{
return 1;
use strict;
use warnings;
use File::Copy;
-use File::Path qw(remove_tree);
+use File::Path qw(rmtree);
use TestLib;
use Test::More;
if ($windows_os)
my $master_xlogdir = "$tmp_check/xlog_master";
- remove_tree($master_xlogdir);
+ rmtree($master_xlogdir);
RewindTest::setup_cluster();
# turn pg_xlog into a symlink