diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2018-10-26 15:25:25 +0200 |
|---|---|---|
| committer | David Lamparter <equinox@diac24.net> | 2019-12-06 15:13:32 +0100 |
| commit | 96673e067d0c4d89cb3e6df44978853a6bda99ac (patch) | |
| tree | de593ca36c161c5c2855e83a4d9da62367c59311 /tests/lib/test_versioncmp.py | |
| parent | 1c0d880814e3fcf76b3351e6756c8ec378f357cb (diff) | |
lib: add frr_version_cmp()
This just compares 2 version strings.
Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'tests/lib/test_versioncmp.py')
| -rw-r--r-- | tests/lib/test_versioncmp.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/lib/test_versioncmp.py b/tests/lib/test_versioncmp.py new file mode 100644 index 0000000000..0990757000 --- /dev/null +++ b/tests/lib/test_versioncmp.py @@ -0,0 +1,6 @@ +import frrtest + +class TestVersionCmp(frrtest.TestMultiOut): + program = './test_versioncmp' + +TestVersionCmp.exit_cleanly() |
