Edit

kc3-lang/gnulib/tests/test-mbscasestr4.sh

Branch :

  • Show log

    Commit

  • Author : Bruno Haible
    Date : 2007-02-11 21:31:59
    Hash : a3372b6c
    Message : Tests for module 'mbscasestr'.

  • tests/test-mbscasestr4.sh
  • #!/bin/sh
    
    # Test whether a specific Turkish locale is installed.
    : ${LOCALE_TR_UTF8=tr_TR.UTF-8}
    if test $LOCALE_TR_UTF8 = none; then
      if test -f /usr/bin/localedef; then
        echo "Skipping test: no turkish Unicode locale is installed"
      else
        echo "Skipping test: no turkish Unicode locale is supported"
      fi
      exit 77
    fi
    
    LC_ALL=$LOCALE_TR_UTF8 \
    ./test-mbscasestr4${EXEEXT}