Skip to content
Snippets Groups Projects
Commit fbbdfb26 authored by Jérôme Charaoui's avatar Jérôme Charaoui
Browse files

[tests] Fix scheduling testcase

parent 6e83d53d
Branches
No related tags found
No related merge requests found
......@@ -130,7 +130,7 @@ testaction() {
@test "scheduling: runs when = 'Tuesday at 04' and time matches" {
testaction info test_info
setconfig backupninja.conf when 'Tuesday at 04'
run faketime -f '@2018-06-10 04:00:00' backupninja -f "${BATS_TMPDIR}/backupninja.conf"
run faketime -f '@2018-06-12 04:00:00' backupninja -f "${BATS_TMPDIR}/backupninja.conf"
[ "$status" -eq 0 ]
grep -q "Info: FINISHED: 1 actions run. 0 fatal. 0 error. 0 warning." "${BATS_TMPDIR}/log/backupninja.log"
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment