tests: add ifup/ifdown/ifquery tests for vlans
This commit is contained in:
parent
b27caaedf6
commit
0de4a3f6f9
4 changed files with 28 additions and 3 deletions
|
@ -17,7 +17,8 @@ tests_init \
|
|||
bonded_bridge \
|
||||
learned_dependency \
|
||||
learned_dependency_2 \
|
||||
learned_executor
|
||||
learned_executor \
|
||||
implicit_vlan
|
||||
|
||||
noargs_body() {
|
||||
atf_check -s exit:1 -e ignore ifdown -S/dev/null
|
||||
|
@ -132,3 +133,10 @@ learned_executor_body() {
|
|||
-E $EXECUTORS \
|
||||
-i $FIXTURES/mock-dependency-generator-2.interfaces br0
|
||||
}
|
||||
|
||||
implicit_vlan_body() {
|
||||
atf_check -s exit:0 -o ignore \
|
||||
-e match:"attempting to run vlan executor" \
|
||||
-e match:"attempting to run link executor" \
|
||||
ifdown -n -S $FIXTURES/vlan.ifstate -E $EXECUTORS -i $FIXTURES/vlan.interfaces eth0.8
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue