summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emulation/xen-tools/files/xen-tools-3.0.2-test-uuid.patch')
-rw-r--r--app-emulation/xen-tools/files/xen-tools-3.0.2-test-uuid.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/app-emulation/xen-tools/files/xen-tools-3.0.2-test-uuid.patch b/app-emulation/xen-tools/files/xen-tools-3.0.2-test-uuid.patch
new file mode 100644
index 0000000..b4829e4
--- /dev/null
+++ b/app-emulation/xen-tools/files/xen-tools-3.0.2-test-uuid.patch
@@ -0,0 +1,17 @@
+# Backported from
+# http://lists.xensource.com/archives/html/xen-changelog/2006-04/msg00086.html
+
+--- tools/python/xen/xend/tests/test_uuid.py 2006-07-22 12:10:00.000000000 +1000
++++ tools/python/xen/xend/tests/test_uuid.py 2006-07-22 12:11:01.000000000 +1000
+@@ -21,9 +21,9 @@
+ self.assertEqual(uuid.toString(inp), expected)
+ self.assertEqual(uuid.fromString(expected), inp)
+
+- t([0 for _ in range(0, 16)], "00000000-00000000-00000000-00000000")
++ t([0 for _ in range(0, 16)], "00000000-0000-0000-0000-000000000000")
+ t([185, 158, 125, 206, 250, 178, 125, 57, 2, 6, 162, 74, 178, 236,
+- 196, 5], "b99e7dce-fab27d39-0206a24a-b2ecc405")
++ 196, 5], "b99e7dce-fab2-7d39-0206-a24ab2ecc405")
+
+
+ def test_suite():