On 2025-05-14 11:57, alison.schofi...@intel.com wrote:
> From: Alison Schofield <alison.schofi...@intel.com>
> 
> A user reported that unit test inject-smart.sh fails with locale
> set to LANG=cs.CZ-UTF-8.[1] That locale uses commas as separators
> whereas the unit test expects periods.
> 
> Set LC_ALL=C in the meson.build test environment to fix this and
> to make sure the bash scripts can rely on predictable output when
> parsing in general.
> 
> This failing test case now passes:
> LANG=cs.CZ.UTF-8 meson test -C build inject-smart.sh
> 
> Tidy up by moving the test_env definition out of the for loop.
> 
> [1] https://github.com/pmem/ndctl/issues/254
> 
> Signed-off-by: Alison Schofield <alison.schofi...@intel.com>


Reviewed-by: Marc Herbert <marc.herb...@linux.intel.com>




Reply via email to