glibc/timezone/testdata/gen-XT5.sh
Hans-Peter Nilsson ebe899af0d 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>
2021-12-30 08:11:19 -03:00

17 lines
667 B
Bash
Executable File

#! /bin/sh
# This test-case is the tzfile for America/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).
printf \
'TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0'\
'\0\0\0\0\0\0\0\1\0\0\0\1\0\0\0\0\0\0\0TZif2\0\0\0\0\0\0\0\0'\
'\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\2\0\0\0\b\0'\
'\0\0\0\*\255\200\1\0\0\0\0\0\0\377\377\325\320\1\4-00\0-03\0\n'\
'<-04>4<-03>,M10.1.0/0,M3.4.0/0\n'