From e108b3c499731528b15ce3373dc40ad3449faf15 Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Sat, 18 Jul 2020 19:52:43 -0600 Subject: [PATCH] tests: add some ATF helpers --- tests/test_env.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 tests/test_env.sh diff --git a/tests/test_env.sh b/tests/test_env.sh new file mode 100644 index 0000000..a739377 --- /dev/null +++ b/tests/test_env.sh @@ -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 +}