Set English environment before test executions.
This is critical because we are parsing outputs of commands, which are
localized!
Tested by: ldoktor@xxxxxxxxxx on RHEL5.4 with kvm-83-72.el5
--- orig/client/tests/kvm/control 2009-07-08 13:18:07.000000000 +0200
+++ new/client/tests/kvm/control 2009-07-09 12:32:32.000000000 +0200
@@ -45,6 +45,8 @@ Each test is appropriately documented on
import sys, os
+# set English environment
+os.environ['LANG'] = 'en_US.UTF-8'
# enable modules import from current directory (tests/kvm)
pwd = os.path.join(os.environ['AUTODIR'],'tests/kvm')
sys.path.append(pwd)