Closed
Description
Currently the test suite may fail to pass, unless you run it with TZ=UTC ./miri test
. This is because the localtime_r
shim reads the TZ
variable from the host on this line:
Lines 139 to 140 in f26bd28
In other words, this test code is ineffective:
miri/tests/pass-dep/shims/libc-misc.rs
Lines 220 to 222 in f26bd28
I'm going to look into this.
cc @tiif @eduardosm