From 3df4a948a6904fca7ec9ca35e9b4e620f5bf6ded Mon Sep 17 00:00:00 2001 From: Timo Teräs Date: Tue, 28 Feb 2023 14:39:09 +0200 Subject: version: fix leading zero stripping Only the leading zeroes should be ignored. Handle properly if the version component is actually zero. fixes #10880 --- test/version.data | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/version.data') diff --git a/test/version.data b/test/version.data index bb1aa9e..8db0b45 100644 --- a/test/version.data +++ b/test/version.data @@ -727,3 +727,7 @@ 1.0_p10-r0 > 1.0_p9-r0 0.1.0_alpha_pre2 < 0.1.0_alpha 1.0.0_pre20191002222144-r0 < 1.0.0_pre20210530193627-r0 +6.0_pre1 < 6.0 +6.1_pre1 < 6.1 +6.0_p1 > 6.0 +6.1_p1 > 6.1 -- cgit v1.2.3-70-g09d2