7 if setfattr -n user.foo -v bar "$TESTFILE"; then
8 echo "Temporary directory '$ADTTMP' has extended attributes, running tests"
9 export TEST_DIR="$ADTTMP"
10 echo "* testing Python 2"
11 python2 test/test_xattr.py
12 echo "* testing Python 3"
13 python3 test/test_xattr.py
15 echo "Temporary directory '$ADTTMP' doesn't have extended attributes enabled"
16 echo "Skipping the tests :("