cmake: Added code coverage support. check only for C (no C++) support. Check attr...
[rrq/fuse_xattrs.git] / run_tests.sh
1 #!/usr/bin/env bash
2
3 mkdir -p test/mount
4 ./fuse_xattrs -o nonempty test/mount/
5
6 pushd test
7
8 set +e
9 python3 -m unittest -v
10 RESULT=$?
11 set -e
12
13 popd
14
15 fusermount -zu test/mount
16 rm -d test/mount
17
18 exit ${RESULT}