OpenSSH-portable patch level 1 now considered equivalent to stock OpenBSD version.

This commit is contained in:
Joe Testa
2020-10-20 13:17:32 -04:00
parent 17780ff194
commit 240b705d61
2 changed files with 4 additions and 1 deletions

View File

@ -138,7 +138,7 @@ class TestVersionCompare:
assert s2.compare_version(s2) == 0
assert s1.compare_version('2.1.1') == 0
assert s2.compare_version('2.1.1p2') == 0
assert s1.compare_version('2.1.1p1') != 0
assert s1.compare_version('2.1.1p1') == 0 # OpenBSD version and p1 version should be the same.
assert s1.compare_version('2.1.1p2') != 0
assert s2.compare_version('2.1.1') != 0
assert s2.compare_version('2.1.1p1') > 0