diff options
| author | naveen <nguggarigoud@vmware.com> | 2020-08-12 11:15:57 +0530 |
|---|---|---|
| committer | nguggarigoud <nguggarigoud@vmware.com> | 2020-09-15 15:44:10 +0530 |
| commit | eb5e807234ae269614887097507f7a82206478e3 (patch) | |
| tree | 9537b61a3ef72dd2433b0ea1181c144c460673bd /tests/topotests/bgp-basic-functionality-topo1/test_bgp_basic_functionality.py | |
| parent | eac139f8f26315076d2c5fd94e7ac2fe322be084 (diff) | |
tests: Kernel version check for topojson scripts.
1. Added linux kernel version check to avoid failures
in CI systems if matching kernel version not found.
Signed-off-by: naveen <nguggarigoud@vmware.com>
Diffstat (limited to 'tests/topotests/bgp-basic-functionality-topo1/test_bgp_basic_functionality.py')
| -rwxr-xr-x | tests/topotests/bgp-basic-functionality-topo1/test_bgp_basic_functionality.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/topotests/bgp-basic-functionality-topo1/test_bgp_basic_functionality.py b/tests/topotests/bgp-basic-functionality-topo1/test_bgp_basic_functionality.py index 69e050caed..7e7155e8fa 100755 --- a/tests/topotests/bgp-basic-functionality-topo1/test_bgp_basic_functionality.py +++ b/tests/topotests/bgp-basic-functionality-topo1/test_bgp_basic_functionality.py @@ -46,8 +46,9 @@ import sys import json import time import pytest +import platform from copy import deepcopy - +from lib.topotest import version_cmp # Save the Current Working Directory to find configuration files. CWD = os.path.dirname(os.path.realpath(__file__)) sys.path.append(os.path.join(CWD, "../")) |
