15 lines
276 B
Text
Executable file
15 lines
276 B
Text
Executable file
#!/usr/bin/env atf-sh
|
|
|
|
. $(atf_get_srcdir)/test_env.sh
|
|
|
|
tests_init \
|
|
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
|
|
}
|