mirror of
https://github.com/linux-system-roles/network.git
synced 2026-01-23 18:35:13 +00:00
Tests: Check error message in ca_path test
This commit is contained in:
parent
cea278cd11
commit
ff1cba43d6
1 changed files with 8 additions and 0 deletions
|
|
@ -88,6 +88,14 @@
|
|||
msg: "Role {{ failure and 'failed' or 'did not fail' }} but was expected
|
||||
{{ expected_failure and '' or 'not' }} to fail.
|
||||
NM NVR: {{ __network_NM_NVR.stdout }}"
|
||||
- name: Assert role failure
|
||||
assert:
|
||||
that: "
|
||||
'ieee802_1x.ca_path specified but not supported by NetworkManager'
|
||||
in __network_connections_result.stderr"
|
||||
when:
|
||||
- __network_connections_result.failed
|
||||
|
||||
|
||||
- name: Assert ping succeeded
|
||||
assert:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue