+
+[testenv:cover]
+basepython = python2.7
+dirs =
+ functest/tests/unit/ci
+ functest/tests/unit/odl
+commands = nosetests --with-coverage --cover-tests \
+ --cover-package functest.ci.check_deployment \
+ --cover-package functest.opnfv_tests.sdn.odl \
+ --cover-package functest.tests.unit \
+ --cover-min-percentage 100 {[testenv:cover]dirs}
+
+[testenv:perm]
+basepython = python2.7
+whitelist_externals = bash
+path=. -not -path './.tox/*' -not -path './.git/*' -not -path './docs/com/pres/reveal.js/*'
+commands =
+ bash -c "\
+ find {[testenv:perm]path} \( -type f -not -perm 644 -o -type d -not -perm 755 \) \
+ -exec ls -l \{\} + | grep '.' && exit 1 || exit 0"
+ bash -c "\
+ find {[testenv:perm]path} -exec file \{\} + | grep CRLF && exit 1 || exit 0"