diff --git a/src/test/perl/TestLib.pm b/src/test/perl/TestLib.pm index 9402e4462c3..2e04476052e 100644 --- a/src/test/perl/TestLib.pm +++ b/src/test/perl/TestLib.pm @@ -26,6 +26,7 @@ our @EXPORT = qw( $tmp_check $log_path + $windows_os ); use Cwd; @@ -38,6 +39,8 @@ use SimpleTee; use Test::More; +our $windows_os = $Config{osname} eq 'MSWin32' || $Config{osname} eq 'msys'; + # Open log file. For each test, the log file name uses the name of the # file launching this module, without the .pl suffix. our ($tmp_check, $log_path);