test: Demonstration of failure to open local file.
The mcron program goes looking for files specified on the command line in Guile's module path, inevitably resulting in failure to load said file. Running 'make check' will show at least one failure. * tests/basic.sh: Added new test.
This commit is contained in:
parent
cb88cc9e42
commit
ad6e4e5505
1 changed files with 3 additions and 0 deletions
|
|
@ -27,6 +27,9 @@ cat > cron/foo.guile <<EOF
|
|||
(job '(next-second) '(display "foo\n"))
|
||||
EOF
|
||||
|
||||
mcron --schedule=1 cron/foo.guile > "output$$"
|
||||
grep -e "foo" "output$$" || fail_ "'foo.guile' job is not scheduled"
|
||||
|
||||
mcron --schedule=1 > "output$$"
|
||||
grep -e "foo" "output$$" || fail_ "'foo.guile' job is not scheduled"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue