]> Sergey Matveev's repositories - public-inbox.git/commit
t/shared_kv: workaround old File::Spec
authorEric Wong <e@yhbt.net>
Sun, 17 Jan 2021 07:09:58 +0000 (07:09 +0000)
committerEric Wong <e@80x24.org>
Mon, 18 Jan 2021 09:25:11 +0000 (09:25 +0000)
commit6b498db4b518938e32d7feff85816f3c6dcf3651
treebaed8e0f36fb023df9fcca23066b55e96eaeaed3
parent2d7de5a87e1b4f5a5046161c8fd3b7f0085a5c19
t/shared_kv: workaround old File::Spec

The version of File::Spec shipped with Perl 5.16.3 memoizes the
value of File::Spec->tmpdir, causing changes to $ENV{TMPDIR}
after-the-fact to be ignored.

We'll only work around this in the test since it's innocuous and
unlikely to matter in real-world usage (and there's many places
where we'd have to workaround this in non-test code).
t/shared_kv.t