summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rwxr-xr-xtest/util/package.rb2
-rwxr-xr-x[-rw-r--r--]test/util/pidlock.rb0
2 files changed, 1 insertions, 1 deletions
diff --git a/test/util/package.rb b/test/util/package.rb
index 73b069f84..22bc4c4e4 100755
--- a/test/util/package.rb
+++ b/test/util/package.rb
@@ -20,7 +20,7 @@ class TestPuppetUtilPackage < Test::Unit::TestCase
versioncmp(a,b)
}
end
- assert_equal(["0002", "1", "1.06", "1.1-3", "1.1-4", "1.1-5", "1.1.6", "1.1.a", "1.1a", "1.2", "1.5", "2.3", "2.3.0", "2.3.1", "2.3a.1", "2.4", "2.4", "2.4b", "2.40.2", "3.0", "3.1"], newary)
+ assert_equal(["3.1", "3.0", "2.40.2", "2.4b", "2.4", "2.4", "2.3a.1", "2.3.1", "2.3.0", "2.3", "1.5", "1.2", "1.1a", "1.1.a", "1.1.6", "1.1-5", "1.1-4", "1.1-3", "1.06", "1", "0002"], newary, "versions did not sort correctly")
end
end
diff --git a/test/util/pidlock.rb b/test/util/pidlock.rb
index 671668d01..671668d01 100644..100755
--- a/test/util/pidlock.rb
+++ b/test/util/pidlock.rb