Skip to content

Commit a0972ed

Browse files
committed
time.t debug
1 parent f3ea84c commit a0972ed

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ext/POSIX/t/time.t

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,7 @@ SKIP: { # GH #23878: test that dst spring forward works properly; use a
268268
# locale that MS narcissism should be able to handle
269269
my $skip_count = 9;
270270
skip "No mktime()", $skip_count if $Config{d_mktime} ne 'define';
271+
$^D |= 0x04000000|0x00100000 ;
271272
my $locale = "PST8PDT";
272273
$ENV{TZ} = $locale;
273274
print STDERR __FILE__, ": ", __LINE__, ": about to call tzset\n";
@@ -303,4 +304,5 @@ SKIP: { # GH #23878: test that dst spring forward works properly; use a
303304
is(POSIX::strftime("%F %T%z", localtime $t + $spring[$i][0]),
304305
$spring[$i][1], $spring[$i][2]);
305306
}
307+
$^D &= ~(67108864|1048576 );
306308
}

0 commit comments

Comments
 (0)