summaryrefslogtreecommitdiff
path: root/test/suite-clopts.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite-clopts.sh')
-rwxr-xr-xtest/suite-clopts.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/suite-clopts.sh b/test/suite-clopts.sh
index eedffa4f93..71b88800a8 100755
--- a/test/suite-clopts.sh
+++ b/test/suite-clopts.sh
@@ -296,8 +296,13 @@ test_dump_glossary_utf8() {
return
fi
+ SAVE_LANG=$LANG
+ LANG=en_US.UTF-8
+ export LANG
$TSHARK -G $1 | iconv -f UTF-8 > /dev/null 2> ./testout.txt
RETURNVALUE=$?
+ LANG=$SAVE_LANG
+ export LANG
if [ ! $RETURNVALUE -eq $EXIT_OK ]; then
if [ -s ./testout.txt ]; then
test_step_output_print ./testout.txt