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

Hi, 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

Guido Günther <agx@sigxcpu.org> wrote:
some checks compare to the english error messages: ... diff --git a/tests/Makefile.am b/tests/Makefile.am index 87e4235..5290606 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -105,6 +105,7 @@ TESTS_ENVIRONMENT = \ PATH="$(path_add)$(PATH_SEPARATOR)$$PATH" \ SHELL="$(SHELL)" \ LIBVIRT_DRIVER_DIR="$(abs_top_builddir)/src/.libs" \ + LC_ALL=C \
Perfect. Please apply.

On Sat, Dec 20, 2008 at 04:30:30PM +0100, Jim Meyering wrote:
Guido Günther <agx@sigxcpu.org> wrote:
some checks compare to the english error messages: ... diff --git a/tests/Makefile.am b/tests/Makefile.am index 87e4235..5290606 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -105,6 +105,7 @@ TESTS_ENVIRONMENT = \ PATH="$(path_add)$(PATH_SEPARATOR)$$PATH" \ SHELL="$(SHELL)" \ LIBVIRT_DRIVER_DIR="$(abs_top_builddir)/src/.libs" \ + LC_ALL=C \
Perfect. Please apply. Applied. -- Guido
participants (2)
-
Guido Günther
-
Jim Meyering