tests: add getopt regression test for multicall stub
This commit is contained in:
parent
46bb0565fa
commit
7911944633
2 changed files with 12 additions and 0 deletions
|
@ -2,6 +2,7 @@ syntax(2)
|
||||||
|
|
||||||
test_suite('ifupdown-ng')
|
test_suite('ifupdown-ng')
|
||||||
|
|
||||||
|
atf_test_program{name='multicall_test'}
|
||||||
atf_test_program{name='ifquery_test'}
|
atf_test_program{name='ifquery_test'}
|
||||||
atf_test_program{name='ifup_test'}
|
atf_test_program{name='ifup_test'}
|
||||||
atf_test_program{name='ifdown_test'}
|
atf_test_program{name='ifdown_test'}
|
||||||
|
|
11
tests/multicall_test
Executable file
11
tests/multicall_test
Executable file
|
@ -0,0 +1,11 @@
|
||||||
|
#!/usr/bin/env atf-sh
|
||||||
|
|
||||||
|
. $(atf_get_srcdir)/test_env.sh
|
||||||
|
|
||||||
|
tests_init \
|
||||||
|
regress_getopt
|
||||||
|
|
||||||
|
regress_getopt_body() {
|
||||||
|
atf_check -e not-inline:'-F: applet not found' -o ignore -s exit:1 \
|
||||||
|
ifupdown ifquery -F
|
||||||
|
}
|
Loading…
Reference in a new issue