diff options
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2011-05-07 15:39:09 +0000 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2011-05-07 15:39:09 +0000 |
commit | 0925bfbb1cbdad163537961fd1a81bf917968a5b (patch) | |
tree | 5b904a6987484345e2e2e01aa07357ace56e0f34 /rbutil | |
parent | 04b4722a5ca50880027f828ccbd8c760f395f88b (diff) |
Rockbox Utility: Add some more cases to version check test.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29829 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil')
-rw-r--r-- | rbutil/rbutilqt/test/compareversion.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rbutil/rbutilqt/test/compareversion.cpp b/rbutil/rbutilqt/test/compareversion.cpp index 80bddf733a..88345e0217 100644 --- a/rbutil/rbutilqt/test/compareversion.cpp +++ b/rbutil/rbutilqt/test/compareversion.cpp @@ -50,6 +50,10 @@ const struct testvector testdata[] = { "10.22.33", "11.0.0", 1 }, { "1.2.3", "1.2.3.1", 1 }, { "1.2.3", "1.2.3-1", 1 }, + { "1.2.3-1", "1.2.3.1", 1 }, + { "1.2.3-10", "1.2.3.0", 1 }, + { "1.2.3-1", "1.2.3.10", 1 }, + { "1.2.3-1", "1.2.3a", 1 }, { "1.2.3", "1.2.3a", 1 }, { "1.2.3a", "1.2.3b", 1 }, { "1.2.3", "1.2.3b", 1 }, |