Skip to content

Commit 2f71f61

Browse files
ramsay-jonesgitster
authored andcommitted
test-lib: add missing prerequisites for Darwin
commit d3d8c60 ("t7815: fix unexpectedly passing test on macOS", 2025-06-02) added a MACOS prerequisite by adding a 'Darwin' case label to the 'OS-specific' case statement. However, this commit forgot to set several prerequisites which appear in the 'default' case label, in addition to the new MACOS prerequisite. This causes several tests, which macOS should pass, being skipped. In order to run all applicable tests on macOS, add the missing prerequisites to the 'Darwin' case. Signed-off-by: Ramsay Jones <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent c1bc974 commit 2f71f61

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

t/test-lib.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1645,6 +1645,9 @@ uname_s=$(uname -s)
16451645
case $uname_s in
16461646
Darwin)
16471647
test_set_prereq MACOS
1648+
test_set_prereq POSIXPERM
1649+
test_set_prereq BSLASHPSPEC
1650+
test_set_prereq EXECKEEPSPID
16481651
;;
16491652
*MINGW*)
16501653
# Windows has its own (incompatible) sort and find

0 commit comments

Comments
 (0)