Skip test for changing TZ if running in a pseudo-fork (on Win32)
authorSteve Hay <SteveHay@planit.com>
Tue, 12 May 2009 17:02:15 +0000 (18:02 +0100)
committerSteve Hay <SteveHay@planit.com>
Tue, 12 May 2009 17:02:15 +0000 (18:02 +0100)
commit8177d4d97c5035e1ca045371b1be47a2ef66ec1d
tree4707ff73a35284879d2fbb153cf9c5b9e5168e33
parent5f320ac74440f7b17e30890d0ed2c920d7301549
Skip test for changing TZ if running in a pseudo-fork (on Win32)

Changing $ENV{TZ} and calling tzset() is documented not to work on Win32
in any thread other than the main thread, which includes the emulated
fork() on Win32 (used by cpantesters?). Mention fork() in the caveats and
skip the test in this case.
ext/Time-Piece/Piece.pm
ext/Time-Piece/t/02core.t