~ubuntu-branches/ubuntu/maverick/gettext/maverick

« back to all changes in this revision

Viewing changes to gettext-tools/gnulib-tests/test-mbsrtowcs1.sh

  • Committer: Colin Watson
  • Date: 2010-08-01 21:36:08 UTC
  • mfrom: (2.1.10 sid)
  • Revision ID: cjwatson@canonical.com-20100801213608-yy7vkm8lpatep3ci
merge from Debian 0.18.1.1-1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
# Test in an ISO-8859-1 or ISO-8859-15 locale.
 
4
: ${LOCALE_FR=fr_FR}
 
5
if test $LOCALE_FR = none; then
 
6
  if test -f /usr/bin/localedef; then
 
7
    echo "Skipping test: no traditional french locale is installed"
 
8
  else
 
9
    echo "Skipping test: no traditional french locale is supported"
 
10
  fi
 
11
  exit 77
 
12
fi
 
13
 
 
14
LC_ALL=$LOCALE_FR \
 
15
./test-mbsrtowcs${EXEEXT} 1