]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - iconvdata/tst-tables.sh
Prefer https to http for gnu.org and fsf.org URLs
[thirdparty/glibc.git] / iconvdata / tst-tables.sh
index ff21aa80825255bf64423836ff58bf3a2d611fdd..b374861b0bdd1a390b270f9a585660ab9ebb1930 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/sh
-# Copyright (C) 2000-2013 Free Software Foundation, Inc.
+# Copyright (C) 2000-2019 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
 # Contributed by Bruno Haible <haible@clisp.cons.org>, 2000.
 #
 
 # You should have received a copy of the GNU Lesser General Public
 # License along with the GNU C Library; if not, see
-# <http://www.gnu.org/licenses/>.
+# <https://www.gnu.org/licenses/>.
 
 # Checks that the iconv() implementation (in both directions) for the
 # stateless encodings agrees with the corresponding charmap table.
 
 common_objpfx=$1
 objpfx=$2
-run_program_prefix=$3
+test_program_prefix=$3
 
 status=0
 
@@ -125,6 +125,7 @@ cat <<EOF |
   IBM855
   IBM856
   IBM857
+  IBM858
   IBM860
   IBM861
   IBM862
@@ -261,8 +262,8 @@ EOF
 while read charset charmap; do
   if test "$charset" = GB18030; then echo "This might take a while" 1>&2; fi
   case ${charset} in \#*) continue;; esac
-  echo -n "Testing ${charset}" 1>&2
-  if ./tst-table.sh ${common_objpfx} ${objpfx} "${run_program_prefix}" \
+  printf %s "Testing ${charset}" 1>&2
+  if ./tst-table.sh ${common_objpfx} ${objpfx} "${test_program_prefix}" \
       ${charset} ${charmap} < /dev/null; then
     echo 1>&2
   else