view tests/test-mbrtowc3.sh @ 13338:43bae0ee08b9

maint.mk: tweak preceding change * top/maint.mk (gl_extract_significant_defines_): Make exclusion regexps tighter by anchoring at EOL, and make the new group "shy" for slightly decreased overhead.
author Jim Meyering <meyering@redhat.com>
date Tue, 11 May 2010 18:49:29 +0200
parents 9ad8bcddd5f9
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-mbrtowc${EXEEXT} 3