diff --git a/tests/Kyuafile b/tests/Kyuafile index a7fb909..6a8019b 100644 --- a/tests/Kyuafile +++ b/tests/Kyuafile @@ -2,6 +2,7 @@ syntax(2) test_suite('ifupdown-ng') +atf_test_program{name='multicall_test'} atf_test_program{name='ifquery_test'} atf_test_program{name='ifup_test'} atf_test_program{name='ifdown_test'} diff --git a/tests/multicall_test b/tests/multicall_test new file mode 100755 index 0000000..0b4c3ab --- /dev/null +++ b/tests/multicall_test @@ -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 +}