]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Set locale before check dnsmasq version
authorXu Han Peng <xuhanp@cn.ibm.com>
Fri, 23 Jan 2015 07:21:33 +0000 (15:21 +0800)
committerXu Han Peng <xuhanp@cn.ibm.com>
Wed, 28 Jan 2015 09:48:36 +0000 (17:48 +0800)
commit082db8bf08ef28750f18a8d1f2aa22acb0971133
tree74d6cf0a6bd4bae847ffe7b791f1dc4038cc9682
parentd0da02070c79127ff5c50372892b5009cca473df
Set locale before check dnsmasq version

In some locale settings, cmd "dnsmasq --version" returns unexpected
result even when dnsmasq is the right version.

This fix sets env variable as "LC_ALL=C" to make sure dnsmasq version
check returns correct result.

Change-Id: I3d1c7793632f2c62e7b54e250e052de15f978e59
Closes-Bug:1412738
neutron/cmd/sanity/checks.py