~ubuntu-branches/ubuntu/lucid/coreutils/lucid-updates

« back to all changes in this revision

Viewing changes to gnulib-tests/test-btowc2.sh

  • Committer: Bazaar Package Importer
  • Author(s): Michael Stone
  • Date: 2009-02-22 12:36:29 UTC
  • mto: (1.2.1 upstream) (5.1.3 sid)
  • mto: This revision was merged to the branch mainline in revision 6.
  • Revision ID: james.westby@ubuntu.com-20090222123629-nqyzcikzk591uza2
Tags: upstream-7.1
ImportĀ upstreamĀ versionĀ 7.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
# Test whether a specific UTF-8 locale is installed.
 
4
: ${LOCALE_FR_UTF8=fr_FR.UTF-8}
 
5
if test $LOCALE_FR_UTF8 = none; then
 
6
  if test -f /usr/bin/localedef; then
 
7
    echo "Skipping test: no french Unicode locale is installed"
 
8
  else
 
9
    echo "Skipping test: no french Unicode locale is supported"
 
10
  fi
 
11
  exit 77
 
12
fi
 
13
 
 
14
LC_ALL=$LOCALE_FR_UTF8 \
 
15
./test-btowc${EXEEXT} 2