ifupdown-ng/tests/test_env.sh

19 lines
358 B
Bash
Raw Normal View History

2020-07-26 10:11:17 +00:00
PATH="$(atf_get_srcdir)/..:$(atf_get_srcdir)/../..:$PATH"
2020-07-19 10:50:30 +00:00
FIXTURES="$(atf_get_srcdir)/fixtures"
2020-07-25 08:50:24 +00:00
EXECUTORS="$(atf_get_srcdir)/executors"
EXECUTORS_LINUX="$(atf_get_srcdir)/../executor-scripts/linux"
2020-07-19 01:52:43 +00:00
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
}