tests: verify ifquery lo always works
This commit is contained in:
parent
757db993da
commit
f8242f6ce5
1 changed files with 6 additions and 1 deletions
|
@ -3,8 +3,13 @@
|
|||
. $(atf_get_srcdir)/test_env.sh
|
||||
|
||||
tests_init \
|
||||
noargs
|
||||
noargs \
|
||||
loopback_always_configured
|
||||
|
||||
noargs_body() {
|
||||
atf_check -s exit:1 -e ignore ifquery
|
||||
}
|
||||
|
||||
loopback_always_configured_body() {
|
||||
atf_check -s exit:0 -o match:"inet loopback" ifquery --pretty-print lo
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue