tests: add some ATF helpers

This commit is contained in:
Ariadne Conill 2020-07-18 19:52:43 -06:00
parent ddc878ea20
commit e108b3c499

13
tests/test_env.sh Normal file
View file

@ -0,0 +1,13 @@
tests_init() {
TESTS="$@"
export TESTS
for t ; do
atf_test_case $t
done
}
atf_init_test_cases() {
for t in ${TESTS}; do
atf_add_test_case $t
done
}