diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2023-10-06 20:56:08 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2023-10-06 20:56:08 +0000 |
commit | d4d945bcd323b6956bbe8b02751f7f6941823dd5 (patch) | |
tree | 1192b7234992316a3060eb80183ab4f0df9f39ca /test/pbmtext-utf8.test | |
parent | 796720b72768508a2346bd999d3efba9b7df2bc7 (diff) | |
download | netpbm-mirror-d4d945bcd323b6956bbe8b02751f7f6941823dd5.tar.gz netpbm-mirror-d4d945bcd323b6956bbe8b02751f7f6941823dd5.tar.xz netpbm-mirror-d4d945bcd323b6956bbe8b02751f7f6941823dd5.zip |
miscellaneous test updates
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4727 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'test/pbmtext-utf8.test')
-rwxr-xr-x | test/pbmtext-utf8.test | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/pbmtext-utf8.test b/test/pbmtext-utf8.test index a10b3d33..551cfe29 100755 --- a/test/pbmtext-utf8.test +++ b/test/pbmtext-utf8.test @@ -20,14 +20,14 @@ tmpdir=${tmpdir:-/tmp} utf_locale_list=${tmpdir}/utf_locale_list locale_to_test="en_US.utf8" # Initial value; this -# does not have to be present in following list -# Edit the above value if necessary +# does not have to be actually available. +# Edit the above value if you have a preferred locale. -# Make a list of available locales which end in "utf8" +# Make a list of available locales which end in "utf8" etc. # If none are found, abort test -locale -a | grep "\.utf8$" > ${utf_locale_list} ||\ - locale_to_test="" +locale -a | grep -e "\.utf8$" -e "\.utf-8$" -e "\.UTF-8$" \ + > ${utf_locale_list} || locale_to_test="" # Hunt for a valid utf8 locale # Submit each candidate to a trial pbmtext run until one that works is |