Skip to content

Commit 06dd4b4

Browse files
committed
Cause TestLib.pm to define $windows_os in all branches.
Back-port of a part of commit 690ed2b that I'd depended on without realizing that it was only added recently. Since it seems entirely likely that other such tests will need to be back-patched in future, providing the flag seems like a better answer than just putting a test in-line. Per buildfarm.
1 parent 57f54b5 commit 06dd4b4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/test/perl/TestLib.pm

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ our @EXPORT = qw(
2626
2727
$tmp_check
2828
$log_path
29+
$windows_os
2930
);
3031

3132
use Cwd;
@@ -38,6 +39,8 @@ use SimpleTee;
3839

3940
use Test::More;
4041

42+
our $windows_os = $Config{osname} eq 'MSWin32' || $Config{osname} eq 'msys';
43+
4144
# Open log file. For each test, the log file name uses the name of the
4245
# file launching this module, without the .pl suffix.
4346
our ($tmp_check, $log_path);

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