mirror of https://github.com/nirenjan/libx52.git
Previously, when testing the clock command of x52cli, we had forced the system timezone to UTC. As a result, the offset calculations for clocks 2 and 3 were never computed and always resulted in 0, which hid the bug when the local time and local standard time did not match (#20). This commit adds a test case that uses faketime to test setting the clock to local (Pacific Time) and verifying that the offsets are computed correctly. Given that the bug is still present as of this commit, add the test suite to XFAIL_TESTS as well, so that it doesn't break the CI build. |
||
---|---|---|
.. | ||
libx52 | ||
Makefile.am | ||
common_infra.sh |