tests.py: Added more tests.
[rrq/fuse_xattrs.git] / run_tests.sh
1 #!/usr/bin/env bash
2
3 mkdir -p test/mount
4 mkdir -p test/source
5 ./fuse_xattrs -o nonempty test/source/ test/mount/
6
7 pushd test
8
9 set +e
10 python3 -m unittest -v
11 RESULT=$?
12 set -e
13
14 popd
15
16 fusermount -zu test/mount
17 rm -d test/source
18 rm -d test/mount
19
20 exit ${RESULT}