tests: verify ifquery lo always works

This commit is contained in:
Ariadne Conill 2020-07-19 00:17:42 -06:00
parent 757db993da
commit f8242f6ce5

View file

@ -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
}