libx52/tests
nirenjan 79bd8466c1 Add test suite for timezone tests
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.
2020-06-02 14:48:46 -07:00
..
libx52 Add test suite for timezone tests 2020-06-02 14:48:46 -07:00
Makefile.am Add test suite for timezone tests 2020-06-02 14:48:46 -07:00
common_infra.sh Add test suite for timezone tests 2020-06-02 14:48:46 -07:00