tests: add initial skeleton for ifquery tests
This commit is contained in:
parent
6904e2ef37
commit
757db993da
3 changed files with 16 additions and 0 deletions
|
@ -1 +1,5 @@
|
||||||
syntax(2)
|
syntax(2)
|
||||||
|
|
||||||
|
test_suite('ifupdown-ng')
|
||||||
|
|
||||||
|
atf_test_program{name='ifquery_test'}
|
||||||
|
|
10
tests/ifquery_test
Executable file
10
tests/ifquery_test
Executable 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
|
||||||
|
}
|
|
@ -1,3 +1,5 @@
|
||||||
|
PATH="$(atf_get_srcdir)/..:$PATH"
|
||||||
|
|
||||||
tests_init() {
|
tests_init() {
|
||||||
TESTS="$@"
|
TESTS="$@"
|
||||||
export TESTS
|
export TESTS
|
||||||
|
|
Loading…
Reference in a new issue