VirtualBox

source: kBuild/trunk/src/grep/gnulib-tests/test-nl_langinfo.sh@ 3610

Last change on this file since 3610 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: 470 bytes
Line 
1#!/bin/sh
2
3LC_ALL=C ${CHECKER} ./test-nl_langinfo${EXEEXT} 0 || exit 1
4
5# Test whether a specific traditional locale is installed.
6: ${LOCALE_FR=fr_FR}
7if test $LOCALE_FR != none; then
8 LC_ALL=$LOCALE_FR ${CHECKER} ./test-nl_langinfo${EXEEXT} 1 || exit 1
9fi
10
11# Test whether a specific UTF-8 locale is installed.
12: ${LOCALE_FR_UTF8=fr_FR.UTF-8}
13if test $LOCALE_FR_UTF8 != none; then
14 LC_ALL=$LOCALE_FR_UTF8 ${CHECKER} ./test-nl_langinfo${EXEEXT} 2 || exit 1
15fi
16
17exit 0
Note: See TracBrowser for help on using the repository browser.

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