]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'es/test-cron-safety'
authorJunio C Hamano <gitster@pobox.com>
Tue, 9 Apr 2024 21:31:44 +0000 (14:31 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 9 Apr 2024 21:31:45 +0000 (14:31 -0700)
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

t/test-lib.sh

index c8af8dab795604998475e5fdff21137534c7f39b..79d3e0e7d9b32dd2938e635dc94acc6b49000569 100644 (file)
@@ -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`
 #