Skip to content

Commit

Permalink
typo fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
per2jensen committed Oct 30, 2022
1 parent 34259d1 commit 400bd48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test-cleanup-fail-diff-age-calc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ sed -i s/DIFF_AGE.*/DIFF_AGE=2MUST-FAIL/ "$TESTDIR"/conf/dar-backup.conf

"$TESTDIR"/bin/cleanup.sh --local-backup-dir

COUNT=$(grep -c -E "ERROR.*?DIIF_AGE_DATE" "$TESTDIR"/archives/dar-backup.log)
COUNT=$(grep -c -E "ERROR.*?DIFF_AGE_DATE" "$TESTDIR"/archives/dar-backup.log)
echo "COUNT: $COUNT"
if [[ "$COUNT" == "0" ]]; then
echo \"FAIL\" message on wrong DIFF age not found
Expand Down

0 comments on commit 400bd48

Please sign in to comment.