From daafac3521f8f7ce815b4d258f9c8c42796b0091 Mon Sep 17 00:00:00 2001 From: Vratko Polak Date: Mon, 2 Mar 2020 17:26:19 +0100 Subject: Backport tox checkers from master Change-Id: Ide532cd216b6b8026f9a803b1801b77c471f17b0 Signed-off-by: Vratko Polak --- resources/libraries/bash/entry/check/tc_naming.sh | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'resources/libraries/bash/entry/check/tc_naming.sh') diff --git a/resources/libraries/bash/entry/check/tc_naming.sh b/resources/libraries/bash/entry/check/tc_naming.sh index b193cfad5e..a8e90516b4 100644 --- a/resources/libraries/bash/entry/check/tc_naming.sh +++ b/resources/libraries/bash/entry/check/tc_naming.sh @@ -1,6 +1,4 @@ -#!/usr/bin/env bash - -# Copyright (c) 2019 Cisco and/or its affiliates. +# Copyright (c) 2020 Cisco and/or its affiliates. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: @@ -66,7 +64,7 @@ r_testc_rules=( #'(ipsec[[:digit:]]+tnlhw|ipsec[[:digit:]]+tnlsw|' #'srhip6|tcp|udp|lispip6|lispip4|vxlan){0,1}' #'(http){0,1}-' - '(.*)-(dev|ndrpdr|cps|rps|reconf)$' + '(.*)-(dev|ndrpdr|bps|cps|rps|reconf)$' ) s_suite_rules=( 'number of SUT nodes' @@ -85,7 +83,7 @@ r_suite_rules=( #'(ipsec[[:digit:]]+tnlhw|ipsec[[:digit:]]+tnlsw|' #'srhip6|tcp|udp|lispip6|lispip4|vxlan){0,1}' #'(http){0,1}-' - '(.*)-(dev|ndrpdr|cps|rps|reconf)$' + '(.*)-(dev|ndrpdr|bps|cps|rps|reconf)$' ) rm -f "tc_naming.log" || die @@ -139,4 +137,4 @@ if [ $((total_failed_tc + total_failed_su)) != "0" ]; then fi warn -warn "Testcase naming checker: PASS" \ No newline at end of file +warn "Testcase naming checker: PASS" -- cgit