mcron/tests
Mathieu Lirzin fad58ca8c2
job-specifier: Preserve '%find-best-next' arguments exactness
The behavior of the 'min' procedure which converts its parameters to
inexact numbers when at least one of them is inexact was causing
'%find-best-next' to always return real numbers.

* src/mcron/job-specifier.scm (%find-best-next): Preserve the exactness
of numbers in NEXT-LIST.
* tests/job-specifier.scm ("%find-best-next: exact"): New test.

Reported-by: Ludovic Courtès <ludo@gnu.org>
2018-03-26 17:20:26 +02:00
..
base.scm tests: Remove unused schedule stubs 2018-03-24 21:13:51 +01:00
basic.sh tests: Add 'basic.sh' 2017-09-28 18:48:49 +02:00
environment.scm environment: Check configuration environment 2018-03-24 20:32:13 +01:00
init.sh tests: Add 'basic.sh' 2017-09-28 18:48:49 +02:00
job-specifier.scm job-specifier: Preserve '%find-best-next' arguments exactness 2018-03-26 17:20:26 +02:00
schedule.sh utils: Use 'scandir' instead of custom 'for-each-file' 2018-03-20 19:27:10 +01:00
utils.scm utils: Check 'mcron-error' 2018-03-25 03:01:45 +02:00