[libvirt] [PATCH] avoid testcase failures due to LANG!=C

Guido Günther agx at sigxcpu.org
Thu Dec 18 14:47:48 UTC 2008

some checks compare to the english error messages:

--- out 2008-12-18 15:36:44.000000000 +0100
+++ exp 2008-12-18 15:36:44.000000000 +0100
@@ -1,3 +1,3 @@
-libvir: Domain Config Fehler : failed Xen syscall Topologie-Syntaxfehler beim Cpuset
-Fehler: Fehler beim Definieren einer Domain von xml-invalid
+libvir: Domain Config error : failed Xen syscall topology cpuset syntax error
+error: Failed to define domain from xml-invalid

FAIL: cpuset

so we should set LC_ALL=C in the checks. Possible patch attached.
 -- Guido
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-avoid-testcase-failures-due-to-localized-error-messa.patch
Type: text/x-diff
Size: 679 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20081218/af478280/attachment-0001.bin>

More information about the libvir-list mailing list