forked from sonic-net/sonic-mgmt
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TACACS] Improve TACACS per-command authorization UT coverage (sonic-…
…net#8115) [TACACS] Improve TACACS per-command authorization UT coverage ### Description of PR Improve TACACS per-command authorization UT coverage Summary: Fixes # (issue) ### Type of change <!-- - Fill x for your type of change. - e.g. - [x] Bug fix --> - [ ] Bug fix - [ ] Testbed and Framework(new/improvement) - [X] Test case(new/improvement) ### Back port request - [ ] 201911 - [ ] 202012 - [x] 202205 ### Approach #### What is the motivation for this PR? Improve TACACS per-command authorization UT coverage. #### How did you do it? Add new UT to cover 'run command with wildcard' scenario. Improve exist UT to cover more commands. #### How did you verify/test it? Manually test with latest master branch image and 202205/202211 branch image. #### Any platform specific information? #### Supported testbed topology if it's a new test case? ### Documentation <!-- (If it's a new feature, new test case) Did you update documentation/Wiki relevant to your implementation? Link to the wiki page? -->
- Loading branch information
Showing
3 changed files
with
187 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters