view tests/test-mbsrtowcs3.sh @ 17290:44c34bc536ac

Fix typo in comment.
author Paul Eggert <eggert@cs.ucla.edu>
date Wed, 16 Jan 2013 09:38:28 -0800
parents 4200847287e8
children
line wrap: on
line source

#!/bin/sh

# Test whether a specific EUC-JP locale is installed.
: ${LOCALE_JA=ja_JP}
if test $LOCALE_JA = none; then
  if test -f /usr/bin/localedef; then
    echo "Skipping test: no traditional japanese locale is installed"
  else
    echo "Skipping test: no traditional japanese locale is supported"
  fi
  exit 77
fi

LC_ALL=$LOCALE_JA \
./test-mbsrtowcs${EXEEXT} 3