VirtualBox

source: kBuild/vendor/grep/2.12/gnulib-tests/test-mbsrtowcs2.sh@ 3627

Last change on this file since 3627 was 2595, checked in by bird, 13 years ago

gnu grep version 2.12 (grep-2.12.tar.xz, md5sum=8d2f0346d08b13c18afb81f0e8aa1e2f)

  • Property svn:eol-style set to native
File size: 378 bytes
Line 
1#!/bin/sh
2
3# Test whether a specific UTF-8 locale is installed.
4: ${LOCALE_FR_UTF8=fr_FR.UTF-8}
5if 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
12fi
13
14LC_ALL=$LOCALE_FR_UTF8 \
15./test-mbsrtowcs${EXEEXT} 2
Note: See TracBrowser for help on using the repository browser.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette