tests: add policer test helper 75/31175/2
authorBrian Russell <brian@graphiant.com>
Thu, 4 Feb 2021 17:23:44 +0000 (17:23 +0000)
committerNeale Ranns <neale@graphiant.com>
Wed, 10 Feb 2021 16:39:22 +0000 (16:39 +0000)
commitf91ff5fc33eb1e5be5db06c3b4b5d1d4641d28e6
treec546ce63e8daebd54ad73c87adf40f80c83b9de1
parentb60620b9b5d5e07d2739a2d9ad2ac92286d80daa
tests: add policer test helper

Add a helper CLI to exercise a policer pre-configured by the test
harness. The test harness will check the stats afterwards.

Type: test
Signed-off-by: Brian Russell <brian@graphiant.com>
Change-Id: I913dda4a9f8179c1c6b3061a68164bf1e698a392
src/plugins/unittest/CMakeLists.txt
src/plugins/unittest/policer_test.c [new file with mode: 0644]