diff --git a/tests/ifquery_test b/tests/ifquery_test index 0ecc5e0..b2641e3 100755 --- a/tests/ifquery_test +++ b/tests/ifquery_test @@ -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 +}