test: demonstrate incorrect -s option on mcron program

The option is supposed to be able to take an optional argument, but if the
argument is not supplied (should default to 8) then the test, rather than
failing, is skipped with a friendly message in the log file.  The proper fix
will come with an upstream patch to GNU Guile, and a future version of Mcron.

* tests/schedule-2.sh: new test, new file
* Makefile.am: make sure to run the new test file
This commit is contained in:
Dale Mellor 2020-04-20 16:25:19 +00:00
commit 4a05a2e861
2 changed files with 83 additions and 0 deletions

View file

@ -136,6 +136,7 @@ SCM_LOG_DRIVER = \
TESTS = \
tests/basic.sh \
tests/schedule.sh \
tests/schedule-2.sh \
tests/base.scm \
tests/environment.scm \
tests/job-specifier.scm \