test-lib: add missing prerequisites for Darwin

commit d3d8c601fd ("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 <ramsay@ramsayjones.plus.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Ramsay Jones committed Jun 9, 2025 at 18:13 UTC 2f71f6104526448dc9d0fa1ab32835bf9b6d66e1
1 file changed +3
t/test-lib.sh
+3
@@ -1645,6 +1645,9 @@ uname_s=$(uname -s)
1645 case $uname_s in
1646 Darwin)
1647 test_set_prereq MACOS
1648 + test_set_prereq POSIXPERM
1649 + test_set_prereq BSLASHPSPEC
1650 + test_set_prereq EXECKEEPSPID
1651 ;;
1652 *MINGW*)
1653 # Windows has its own (incompatible) sort and find