From 7280ca6a6953335139eb3f1e6f33f0da83f629cc Mon Sep 17 00:00:00 2001 From: Nate Rosenblum Date: Fri, 21 Aug 2015 10:05:13 -0700 Subject: [PATCH] Skip xattr tests if utilities are missing --- test/integration-test-main.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/integration-test-main.sh b/test/integration-test-main.sh index 788488c..6fc859d 100755 --- a/test/integration-test-main.sh +++ b/test/integration-test-main.sh @@ -323,6 +323,9 @@ function test_special_characters { } function test_extended_attributes { + command -v setfattr >/dev/null 2>&1 || \ + { echo "Skipping extended attribute tests" ; return; } + echo "Testing extended attributes ..." rm -f $TEST_TEXT_FILE