tests: add initial skeleton for ifquery tests

This commit is contained in:
Ariadne Conill 2020-07-19 00:05:24 -06:00
parent 6904e2ef37
commit 757db993da
3 changed files with 16 additions and 0 deletions

View file

@ -1 +1,5 @@
syntax(2)
test_suite('ifupdown-ng')
atf_test_program{name='ifquery_test'}

10
tests/ifquery_test Executable file
View file

@ -0,0 +1,10 @@
#!/usr/bin/env atf-sh
. $(atf_get_srcdir)/test_env.sh
tests_init \
noargs
noargs_body() {
atf_check -s exit:1 -e ignore ifquery
}

View file

@ -1,3 +1,5 @@
PATH="$(atf_get_srcdir)/..:$PATH"
tests_init() {
TESTS="$@"
export TESTS