tests/utils: Set LC_ALL=C for tests that are locale-dependant
commit4c3fe05e6b576fa0fbdc3d44724549846f268801
authorAlberto Bertogli <albertito@blitiri.com.ar>
Thu, 24 Sep 2015 03:46:00 +0000 (24 04:46 +0100)
committerAlberto Bertogli <albertito@blitiri.com.ar>
Thu, 24 Sep 2015 03:46:00 +0000 (24 04:46 +0100)
treee43f4a619d7741cacb784b47ef2758f49e20c7ea
parent6a7a14a04ace6cc9d9e6f3a31c8c055488cbaec6
tests/utils: Set LC_ALL=C for tests that are locale-dependant

The test-basic_ctrl.py test is locale dependant, as it checks the output
of cat for the word "error", which only works on certain locales.

This patch fixes the locale to "C" which should be more reliable and
reproducible, and while at it increase the logging in case of errors so
these kind of problems are easy to detect.

Thanks to Chris Lamb for finding and reporting the problem.
tests/utils/test-basic_ctrl.py