From 9fae6ec12b55cca69abc5cd6ed902b85417ade57 Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Sat, 18 Mar 2023 00:17:54 -0700 Subject: [PATCH] Skip a test case on macOS --- tests/test-imagex-capture_and_apply | 8 ++++++++ 1 file changed, 8 insertions(+) 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 -- 2.43.0