On Wed, Feb 7, 2024 at 9:19 PM Miroslav Lichvar wrote:
>
> On Wed, Feb 07, 2024 at 04:29:44PM +1100, patrick.oppenlan...@gmail.com wrote:
> > +void
> > +test_unit(void)
> > +{
> > + char conf[][100] = {
> > +"leapsectz right/UTC",
> > +"leapseclist leapdb.list"
> > + };
> > +
> > +
On Wed, Feb 07, 2024 at 04:29:44PM +1100, patrick.oppenlan...@gmail.com wrote:
> +void
> +test_unit(void)
> +{
> + char conf[][100] = {
> +"leapsectz right/UTC",
> +"leapseclist leapdb.list"
> + };
> +
> + CNF_Initialise(0, 0);
> + for (int i = 0; i < sizeof conf / sizeof conf[0]; i++)
From: Patrick Oppenlander
---
test/unit/leapdb.c| 92 +++
test/unit/leapdb.list | 21 ++
2 files changed, 113 insertions(+)
create mode 100644 test/unit/leapdb.c
create mode 100644 test/unit/leapdb.list
diff --git a/test/unit/leapdb.c