view tests/test-wcsrtombs4.sh @ 16039:ae7cb951d5b4

Tests for module 'fma'. * modules/fma-tests: New file. * tests/test-fma1.c: New file. * tests/test-fma1.h: New file. * tests/test-fma2.c: New file. * tests/test-fma2.h: New file.
author Bruno Haible <bruno@clisp.org>
date Sun, 06 Nov 2011 02:28:32 +0100
parents d39a9bdacb69
children
line wrap: on
line source

#!/bin/sh

# Test whether a specific GB18030 locale is installed.
: ${LOCALE_ZH_CN=zh_CN.GB18030}
if test $LOCALE_ZH_CN = none; then
  if test -f /usr/bin/localedef; then
    echo "Skipping test: no transitional chinese locale is installed"
  else
    echo "Skipping test: no transitional chinese locale is supported"
  fi
  exit 77
fi

LC_ALL=$LOCALE_ZH_CN \
./test-wcsrtombs${EXEEXT} 4