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
@@ -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;
+}