dotnet: force ICU to be loaded during tests
This commit is contained in:
parent
7150d7e203
commit
81693c96ba
|
@ -71,8 +71,10 @@
|
||||||
export DOTNET_ROOT=${runtime}
|
export DOTNET_ROOT=${runtime}
|
||||||
'' + run);
|
'' + run);
|
||||||
|
|
||||||
|
# Setting LANG to something other than 'C' forces the runtime to search
|
||||||
|
# for ICU, which will be required in most user environments.
|
||||||
checkConsoleOutput = command: ''
|
checkConsoleOutput = command: ''
|
||||||
output="$(${command})"
|
output="$(LANG=C.UTF-8 ${command})"
|
||||||
# yes, older SDKs omit the comma
|
# yes, older SDKs omit the comma
|
||||||
[[ "$output" =~ Hello,?\ World! ]] && touch "$out"
|
[[ "$output" =~ Hello,?\ World! ]] && touch "$out"
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in New Issue
Block a user