From: larsxschneider@gmail.com Date: Sun, 04 Oct 2015 18:06:15 GMT Subject: [PATCH v2 2/4] Add prereq to detect OS X Message-ID: <1443981977-64604-3-git-send-email-larsxschneider@gmail.com> In-Reply-To: <1443981977-64604-1-git-send-email-larsxschneider@gmail.com> From: Lars Schneider Some Unix tools differ between Linux and Mac OS X. Add this prereq to detect OS X and handle it appropriately. Signed-off-by: Lars Schneider --- t/test-lib.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/t/test-lib.sh b/t/test-lib.sh index 16c4d7b..726af40 100644 --- a/t/test-lib.sh +++ b/t/test-lib.sh @@ -913,7 +913,7 @@ yes () { done } -# Fix some commands on Windows +# Fix some commands on Windows and OS X case $(uname -s) in *MINGW*) # Windows has its own (incompatible) sort and find @@ -946,6 +946,9 @@ case $(uname -s) in test_set_prereq SED_STRIPS_CR test_set_prereq GREP_STRIPS_CR ;; +*Darwin*) + test_set_prereq DARWIN + ;; *) test_set_prereq POSIXPERM test_set_prereq BSLASHPSPEC -- 2.5.1