diff options
author | Paul Vinciguerra <pvinci@vinciconsulting.com> | 2019-07-03 08:38:38 -0400 |
---|---|---|
committer | Neale Ranns <nranns@cisco.com> | 2019-07-09 07:16:16 +0000 |
commit | 0cbc71d783b9ad385e3d9efba181b75e37265318 (patch) | |
tree | 598afa71c693f616381dd21cf10e298a0363647e /src/vnet/policer/policer.c | |
parent | a089ae1294c8a49555fd95a905e2caa04cb7f900 (diff) |
tests: treat all truthy env vars the same way
Introduce a new class, that returns the truthiness of a env var.
Since an environment variable is just a string, it would normally
be true if not unset. The new class returns true when the env var is
set to a string that would be considered true.
Type: test
Depends-on: https://gerrit.fd.io/r/20484
Change-Id: I90ef010156f6fec246bde5c0e208ced1869b180f
Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
Diffstat (limited to 'src/vnet/policer/policer.c')
0 files changed, 0 insertions, 0 deletions