tests: add tests for auto interface skipping
This commit is contained in:
parent
ceb82f4fd2
commit
e754e836af
4 changed files with 34 additions and 1 deletions
|
@ -22,6 +22,7 @@ tests_init \
|
|||
deferred_teardown_1 \
|
||||
deferred_teardown_2 \
|
||||
deferred_teardown_3 \
|
||||
teardown_dep_ordering \
|
||||
regress_opt_f
|
||||
|
||||
noargs_body() {
|
||||
|
@ -172,6 +173,14 @@ deferred_teardown_3_body() {
|
|||
-i $FIXTURES/deferred-teardown-2.interfaces tun0 tun1 tun2 tun3
|
||||
}
|
||||
|
||||
teardown_dep_ordering_body() {
|
||||
atf_check -s exit:0 -o ignore \
|
||||
-e match:"skipping auto interface bat" \
|
||||
-e match:"skipping auto interface dummy" \
|
||||
ifdown -n -i $FIXTURES/teardown-dep-ordering.interfaces \
|
||||
-S $FIXTURES/teardown-dep-ordering.ifstate -E $EXECUTORS -a
|
||||
}
|
||||
|
||||
regress_opt_f_body() {
|
||||
atf_check -s exit:0 -o ignore -e ignore \
|
||||
ifdown -n -S $FIXTURES/vlan.ifstate -E $EXECUTORS -i $FIXTURES/vlan.interfaces -f eth0.8
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue