From: Eric Biggers Date: Sat, 18 Mar 2023 07:17:54 +0000 (-0700) Subject: Skip a test case on macOS X-Git-Tag: v1.14.0~85 X-Git-Url: https://wimlib.net/git/?a=commitdiff_plain;h=9fae6ec12b55cca69abc5cd6ed902b85417ade57;p=wimlib Skip a test case on macOS --- diff --git a/tests/test-imagex-capture_and_apply b/tests/test-imagex-capture_and_apply index 24503729..be789b8a 100755 --- a/tests/test-imagex-capture_and_apply +++ b/tests/test-imagex-capture_and_apply @@ -221,7 +221,15 @@ exclusionlist_test() { diff expected_out actual_out } +macOS=false +if [ "$(uname)" = Darwin ]; then + macOS=true +fi for t_file in "$srcdir/tests/exclusionlists"/*; do + if $macOS && [[ $t_file == */case_*sensitive ]]; then + # Exclude test cases that fail on case-insensitive filesystem + continue + fi exclusionlist_test "$t_file" done