diff options
author | Timo Teräs <timo.teras@iki.fi> | 2023-02-28 14:39:09 +0200 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2023-02-28 14:39:09 +0200 |
commit | 3df4a948a6904fca7ec9ca35e9b4e620f5bf6ded (patch) | |
tree | 5c59ce286ebf69d36a2e29a7606c4518f9509b19 /test/version.data | |
parent | 3aa99faa83d08e45eff8a5cc95c4df16fb5bd257 (diff) | |
download | apk-tools-3df4a948a6904fca7ec9ca35e9b4e620f5bf6ded.tar.gz apk-tools-3df4a948a6904fca7ec9ca35e9b4e620f5bf6ded.tar.bz2 apk-tools-3df4a948a6904fca7ec9ca35e9b4e620f5bf6ded.tar.xz apk-tools-3df4a948a6904fca7ec9ca35e9b4e620f5bf6ded.zip |
version: fix leading zero stripping
Only the leading zeroes should be ignored. Handle properly if the
version component is actually zero.
fixes #10880
Diffstat (limited to 'test/version.data')
-rw-r--r-- | test/version.data | 4 |
1 files changed, 4 insertions, 0 deletions
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 |