test, provide regressions for trod tool over simple schemas

Signed-off-by: Sebastian Freundt <freundt@fresse.org>
test, provide regressions for trod tool over schemas that span the years

Signed-off-by: Sebastian Freundt <freundt@fresse.org>
fix, PEBKAC, don't use mremap() in init_gq()

Signed-off-by: Sebastian Freundt <freundt@fresse.org>
minor, refactor obtaining the last instant off a troq into troq_last_inst()

Signed-off-by: Sebastian Freundt <freundt@fresse.org>
minor, use troq_last_inst() helper to determine if there was a year flip-over

Signed-off-by: Sebastian Freundt <freundt@fresse.org>
minor, introduce flip-over years (syntax: Mn->Mm for n > m) and detection thereofs

Signed-off-by: Sebastian Freundt <freundt@fresse.org>
minor, return least possible flip-over value

Signed-off-by: Sebastian Freundt <freundt@fresse.org>
minor, don't use flip-over values for the very first event

Signed-off-by: Sebastian Freundt <freundt@fresse.org>
Merge branch 'feat/trod' into next

* feat/trod:
  minor, don't use flip-over values for the very first event
  minor, return least possible flip-over value
  minor, introduce flip-over years (syntax: Mn->Mm for n > m) and detection thereofs
  minor, use troq_last_inst() helper to determine if there was a year flip-over
  minor, refactor obtaining the last instant off a troq into troq_last_inst()
  fix, PEBKAC, don't use mremap() in init_gq()
  test, provide regressions for trod tool over schemas that span the years
  test, provide regressions for trod tool over simple schemas