VirtualBox

source: kBuild/vendor/grep/3.7/gnulib-tests/test-btowc2.sh

Last change on this file was 3529, checked in by bird, 3 years ago

Imported grep 3.7 from grep-3.7.tar.gz (sha256: c22b0cf2d4f6bbe599c902387e8058990e1eee99aef333a203829e5fd3dbb342), applying minimal auto-props.

  • Property svn:executable set to *
File size: 385 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${CHECKER} ./test-btowc${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