mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 14:07:59 +00: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:
committed by
Stephen Morris
parent
8cf29aafec
commit
4dad408ead
@@ -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".
|
||||
#
|
||||
|
Reference in New Issue
Block a user