diff options
author | Dale Mellor <mcron-lsfnyl@rdmp.org> | 2020-09-10 05:48:26 +0100 |
---|---|---|
committer | Dale Mellor <mcron-lsfnyl@rdmp.org> | 2022-07-07 22:19:06 +0100 |
commit | cbce8eb293321aef12d153abce31cc3c6ab14f95 (patch) | |
tree | f8473f33dac6ba3ab3aed847b62f49219599fe10 /tests/schedule-2.sh | |
parent | dc1aab3d2fdede1462f690cca61c1e72cd549a06 (diff) | |
download | mcron-cbce8eb293321aef12d153abce31cc3c6ab14f95.tar.gz mcron-cbce8eb293321aef12d153abce31cc3c6ab14f95.tar.bz2 mcron-cbce8eb293321aef12d153abce31cc3c6ab14f95.zip |
Incorporate and use command-line-processor proposed for Guile core
Since the elimination of the C wrapping around mcron and all the
executable scripts, a weakness in Guile's (ice-9 getopt-long) module
means that the command 'mcron -s crontab.scm' does not currently
work. A replacement for the getopt-long module, as well as a
higher-level 'command-line-processor' facility, have been pushed to
the Guile upstream developers and are awaiting approval and
incorporation. In the meantime, those modules are temporarily
incorporated here into the mcron package, and the code is modified
to use those local versions.
* Makefile.am: install two new Guile modules
* src/{cron,crontab,mcron}.in: use local command-line-processor module
* src/mcron/command-line-processor.scm: new module
* src/mcron/getopt-long.scm: new module
* tests/schedule{,-2}.sh: clarify tests of -s, --schedule options
Diffstat (limited to 'tests/schedule-2.sh')
-rw-r--r-- | tests/schedule-2.sh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/schedule-2.sh b/tests/schedule-2.sh index 531af54..66d0a55 100644 --- a/tests/schedule-2.sh +++ b/tests/schedule-2.sh @@ -74,8 +74,6 @@ Thu Jan 1 00:00:08 1970 +0000 EOF mcron -s cron/foo.guile > output -diff expected output \ - || skip_ 'The -s option is not fully functional; -this will be fixed with a future version of GNU Guile.' +diff expected output || fail_ "schedule output with -s is not correct" Exit 0 |