Skip to content

Commit becfd0a

Browse files
committed
fixup! builtin/gc: fix crash when running git maintenance start
Signed-off-by: Derrick Stolee <[email protected]>
1 parent 6138534 commit becfd0a

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

t/t7900-maintenance.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -646,7 +646,7 @@ test_expect_success !MINGW 'register and unregister with regex metacharacters' '
646646
maintenance.repo "$(pwd)/$META"
647647
'
648648

649-
test_expect_success 'start without GIT_TEST_MAINT_SCHEDULER' '
649+
test_expect_success !MINGW,!DARWIN 'start without GIT_TEST_MAINT_SCHEDULER' '
650650
test_when_finished "rm -rf crontab.log script repo" &&
651651
mkdir script &&
652652
write_script script/crontab <<-EOF &&

t/test-lib.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1715,6 +1715,12 @@ case $uname_s in
17151715
test_set_prereq GREP_STRIPS_CR
17161716
test_set_prereq WINDOWS
17171717
;;
1718+
*Darwin*)
1719+
test_set_prereq POSIXPERM
1720+
test_set_prereq BSLASHPSPEC
1721+
test_set_prereq EXECKEEPSPID
1722+
test_set_prereq DARWIN
1723+
;;
17181724
*)
17191725
test_set_prereq POSIXPERM
17201726
test_set_prereq BSLASHPSPEC

0 commit comments

Comments
 (0)