tests: ifup: add dependency loop breaking test
This commit is contained in:
parent
122a54377d
commit
0cade539f8
1 changed files with 8 additions and 1 deletions
|
@ -19,7 +19,8 @@ tests_init \
|
|||
learned_dependency_2 \
|
||||
learned_executor \
|
||||
implicit_vlan \
|
||||
teardown_dep_ordering
|
||||
teardown_dep_ordering \
|
||||
dependency_loop_breaking
|
||||
|
||||
noargs_body() {
|
||||
atf_check -s exit:1 -e ignore ifup -S/dev/null
|
||||
|
@ -139,3 +140,9 @@ teardown_dep_ordering_body() {
|
|||
-e match:"skipping auto interface dummy" \
|
||||
ifup -n -i $FIXTURES/teardown-dep-ordering.interfaces -E $EXECUTORS -a
|
||||
}
|
||||
|
||||
dependency_loop_breaking_body() {
|
||||
atf_check -s exit:0 -o ignore \
|
||||
-e match:"ifup: skipping auto interface a \\(already configured\\), use --force to force configuration" \
|
||||
ifup -n -i $FIXTURES/dependency-loop.interfaces -E $EXECUTORS -a
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue