timezone: test-case for BZ #28707
commitebe899af0dc3215159a9c896ac6f35b72a18cb6e
authorHans-Peter Nilsson <hp@axis.com>
Fri, 17 Dec 2021 20:45:54 +0000 (17 21:45 +0100)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Thu, 30 Dec 2021 11:11:19 +0000 (30 08:11 -0300)
tree2b267b83442df38b28a2afd1361698c8b1e527bf
parentc36f64aa6dff13b12a1e03a185e75a50fa9f6a4c
timezone: test-case for BZ #28707

This test-case is the tzfile for Asuncion generated by
tzlib-2021e as follows, using the tzlib-2021e zic: "zic -d
DEST -r @1546300800 -L /dev/null -b slim
SOURCE/southamerica".  Note that in its type 2 header, it
has two entries in its "time-types" array (types), but only
one entry in its "transition types" array (type_idxs).

* timezone/Makefile, timezone/tst-pr28707.c,
timezone/testdata/gen-XT5.sh: New test.

Co-authored-by: Christopher Wong <Christopher.Wong@axis.com>
timezone/Makefile
timezone/testdata/gen-XT5.sh [new file with mode: 0755]
timezone/tst-bz28707.c [new file with mode: 0644]