~mdw
/
mLib
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Infrastructure: Switch testing over to Autotest.
[mLib]
/
utils
/
t
/
versioncmp.tests
diff --git a/utils/t/versioncmp.tests
b/utils/t/versioncmp.tests
new file mode 100644
(file)
index 0000000..
421974a
--- /dev/null
+++ b/
utils/t/versioncmp.tests
@@ -0,0
+1,14
@@
+## test for versioncmp
+
+versioncmp {
+ 1.2 1.2 0;
+ 1.1 1.2 -1;
+ 1.1 1.0 +1;
+ 1.0 1.a -1;
+ 1:2.0 2:0.4 -1;
+ 1.2 1.2~pre0 +1;
+ 1~~ 1~~a -1;
+ 1~~a 1~ -1;
+ 1~ 1 -1;
+ 1 1a -1;
+}