From b890a08c7e61556e6cedd131552efb80e19367aa Mon Sep 17 00:00:00 2001 From: Pim van Pelt Date: Mon, 16 Jan 2023 22:22:27 +0000 Subject: [PATCH] Collapse the error messages to force consistency --- vppcfg/unittest/yaml/error-acl5.yaml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/vppcfg/unittest/yaml/error-acl5.yaml b/vppcfg/unittest/yaml/error-acl5.yaml index 5b2eaaa..ff1916c 100644 --- a/vppcfg/unittest/yaml/error-acl5.yaml +++ b/vppcfg/unittest/yaml/error-acl5.yaml @@ -2,10 +2,8 @@ test: description: "Ways in which ICMP code and type can fail" errors: expected: - - "acl .* term .* icmp-type can only be specified for protocol icmp or ipv6-icmp" - - "acl .* term .* icmp-code can only be specified for protocol icmp or ipv6-icmp" - - "acl .* term .* icmp-code low value is greater than high value" - - "acl .* term .* icmp-type low value is greater than high value" + - "acl .* term .* icmp-(type|code) can only be specified for protocol icmp or ipv6-icmp" + - "acl .* term .* icmp-(type|code) low value is greater than high value" count: 8 --- acls: