diff --git a/t/t7900-maintenance.sh b/t/t7900-maintenance.sh index 4008e4e45e622e..86bc77e73ffcb2 100755 --- a/t/t7900-maintenance.sh +++ b/t/t7900-maintenance.sh @@ -646,7 +646,7 @@ test_expect_success !MINGW 'register and unregister with regex metacharacters' ' maintenance.repo "$(pwd)/$META" ' -test_expect_success 'start without GIT_TEST_MAINT_SCHEDULER' ' +test_expect_success !MINGW,!DARWIN 'start without GIT_TEST_MAINT_SCHEDULER' ' test_when_finished "rm -rf crontab.log script repo" && mkdir script && write_script script/crontab <<-EOF && diff --git a/t/test-lib.sh b/t/test-lib.sh index b1a8ee5c002b35..f12f3a76093375 100644 --- a/t/test-lib.sh +++ b/t/test-lib.sh @@ -1715,6 +1715,12 @@ case $uname_s in test_set_prereq GREP_STRIPS_CR test_set_prereq WINDOWS ;; +*Darwin*) + test_set_prereq POSIXPERM + test_set_prereq BSLASHPSPEC + test_set_prereq EXECKEEPSPID + test_set_prereq DARWIN + ;; *) test_set_prereq POSIXPERM test_set_prereq BSLASHPSPEC