Skip to content

Commit

Permalink
Merge branch 'es/test-cron-safety'
Browse files Browse the repository at this point in the history
The test script had an incomplete and ineffective attempt to avoid
clobbering the testing user's real crontab (and its equivalents),
which has been completed.

* es/test-cron-safety:
  test-lib: fix non-functioning GIT_TEST_MAINT_SCHEDULER fallback
  • Loading branch information
gitster committed Apr 9, 2024
2 parents 989bf45 + 73cb877 commit a6abdda
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions t/test-lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1962,6 +1962,7 @@ test_lazy_prereq DEFAULT_REPO_FORMAT '
# Tests that verify the scheduler integration must set this locally
# to avoid errors.
GIT_TEST_MAINT_SCHEDULER="none:exit 1"
export GIT_TEST_MAINT_SCHEDULER

# Does this platform support `git fsmonitor--daemon`
#
Expand Down

0 comments on commit a6abdda

Please sign in to comment.