SummaryRefsLogTreeCommitDiffStats
path: root/tests/basic.sh
diff options
context:
space:
mode:
authoratsb <atsb@atsb>2020-04-22 20:31:34 +0200
committeratsb <atsb@atsb>2020-04-22 20:31:34 +0200
commit6360e88416763db759a8df2afab0b7ab0dfcb36e (patch)
tree9008b15f214aaa993f67fa4cd92f099b1bdc4a45 /tests/basic.sh
parentf22de155b8e75918c9030897a01e070a8af02661 (diff)
parent1eedf3b6d24f421ccdb8798b053ee718d1051651 (diff)
downloadmcron-6360e88416763db759a8df2afab0b7ab0dfcb36e.tar.gz
mcron-6360e88416763db759a8df2afab0b7ab0dfcb36e.tar.bz2
mcron-6360e88416763db759a8df2afab0b7ab0dfcb36e.zip
merge from dm-v1.2.0 part 1
Diffstat (limited to 'tests/basic.sh')
-rw-r--r--tests/basic.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/basic.sh b/tests/basic.sh
index 07b664b..7b2ca55 100644
--- a/tests/basic.sh
+++ b/tests/basic.sh
@@ -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"