mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-05 00:38:07 +02:00
src/tests: add test for except match spec
(cherry picked from commit d48904c9a9)
This commit is contained in:
parent
51bd7dc4aa
commit
593af85d31
1 changed files with 4 additions and 0 deletions
|
|
@ -1233,6 +1233,10 @@ test_match_spec_device (void)
|
|||
S ("em", "em\\", "em\\*", "em\\1", "em\\11", "em\\2", "em1", "em11", "em2", "em3"),
|
||||
NULL,
|
||||
S ("em*"));
|
||||
_do_test_match_spec_device ("except:interface-name:em*",
|
||||
NULL,
|
||||
S ("", "eth", "eth1", "e1"),
|
||||
S ("em", "em\\", "em\\*", "em\\1", "em\\11", "em\\2", "em1", "em11", "em2", "em3"));
|
||||
_do_test_match_spec_device ("aa,bb,cc\\,dd,e,,",
|
||||
S ("aa", "bb", "cc,dd", "e"),
|
||||
NULL,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue