aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRamsay Jones <ramsay@ramsayjones.plus.com>2025-06-09 18:13:38 +0100
committerJunio C Hamano <gitster@pobox.com>2025-06-09 11:25:37 -0700
commit2f71f6104526448dc9d0fa1ab32835bf9b6d66e1 (patch)
tree3748091f436a86cabe89e080b265ec6c24ce107c
parentc1bc9749234773ce178d86d7d39cd28f2fa4288a (diff)
downloadgit-2f71f6104526448dc9d0fa1ab32835bf9b6d66e1.tar.xz
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>
-rw-r--r--t/test-lib.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/t/test-lib.sh b/t/test-lib.sh
index 5352209d3e..cd9e78a6cc 100644
--- a/t/test-lib.sh
+++ b/t/test-lib.sh
@@ -1645,6 +1645,9 @@ uname_s=$(uname -s)
case $uname_s in
Darwin)
test_set_prereq MACOS
+ test_set_prereq POSIXPERM
+ test_set_prereq BSLASHPSPEC
+ test_set_prereq EXECKEEPSPID
;;
*MINGW*)
# Windows has its own (incompatible) sort and find