]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t7900-maintenance.sh
maintenance: running maintenance should not stop on errors
[thirdparty/git.git] / t / t7900-maintenance.sh
index 0943dfa18a3f97b7e351346d089efdd878f6ca68..8595489cebe25c70e90c783b15e0b09a14e109fa 100755 (executable)
@@ -639,9 +639,9 @@ test_expect_success 'start from empty cron table' '
        # start registers the repo
        git config --get --global --fixed-value maintenance.repo "$(pwd)" &&
 
-       grep "for-each-repo --config=maintenance.repo maintenance run --schedule=daily" cron.txt &&
-       grep "for-each-repo --config=maintenance.repo maintenance run --schedule=hourly" cron.txt &&
-       grep "for-each-repo --config=maintenance.repo maintenance run --schedule=weekly" cron.txt
+       grep "for-each-repo --keep-going --config=maintenance.repo maintenance run --schedule=daily" cron.txt &&
+       grep "for-each-repo --keep-going --config=maintenance.repo maintenance run --schedule=hourly" cron.txt &&
+       grep "for-each-repo --keep-going --config=maintenance.repo maintenance run --schedule=weekly" cron.txt
 '
 
 test_expect_success 'stop from existing schedule' '