2020-07-19 06:05:24 +00:00
|
|
|
#!/usr/bin/env atf-sh
|
|
|
|
|
|
|
|
. $(atf_get_srcdir)/test_env.sh
|
|
|
|
|
|
|
|
tests_init \
|
2020-07-19 06:17:42 +00:00
|
|
|
noargs \
|
|
|
|
loopback_always_configured
|
2020-07-19 06:05:24 +00:00
|
|
|
|
|
|
|
noargs_body() {
|
|
|
|
atf_check -s exit:1 -e ignore ifquery
|
|
|
|
}
|
2020-07-19 06:17:42 +00:00
|
|
|
|
|
|
|
loopback_always_configured_body() {
|
|
|
|
atf_check -s exit:0 -o match:"inet loopback" ifquery --pretty-print lo
|
|
|
|
}
|