Merge pull request #251 from flandr/skip-xattr-tests

Skip xattr tests if utilities are missing
This commit is contained in:
Takeshi Nakatani 2015-08-22 02:11:02 +09:00
commit eb97054f49

View File

@ -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