view tests/test-mbsrtowcs3.sh @ 16447:88cc6732aacd

Tests for module 'ldexpl-ieee'. * modules/ldexpl-ieee-tests: New file. * tests/test-ldexpl-ieee.c: New file.
author Bruno Haible <bruno@clisp.org>
date Sun, 26 Feb 2012 16:32:16 +0100
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