mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
Use C.UTF-8 if available, and en_US.UTF-8 is available, otherwise do nothing and let the test break
This commit is contained in:
parent
8cf29aafec
commit
4dad408ead
1 changed files with 6 additions and 2 deletions
|
|
@ -11,9 +11,13 @@ SYSTEMTESTTOP=..
|
|||
. $SYSTEMTESTTOP/conf.sh
|
||||
|
||||
# Set known locale for the tests
|
||||
LC_ALL="en_US.UTF-8"
|
||||
export LC_ALL
|
||||
|
||||
if locale -a | grep -qE "^C\\.(UTF-8|utf8)"; then
|
||||
LC_ALL="C.UTF-8"
|
||||
elif locale -a | grep -qE "^en_US\\.(UTF-8|utf8)"; then
|
||||
LC_ALL="en_US.UTF-8"
|
||||
fi
|
||||
export LC_ALL
|
||||
|
||||
# This set of tests check the behavior of the IDNA options in "dig".
|
||||
#
|
||||
|
|
|
|||
Loading…
Reference in a new issue