Mercurial > gnulib
view tests/test-tsearch.sh @ 40136:06c22cab9098
setlocale: Work around bug on Android 4.3.
* m4/setlocale.m4 (gl_FUNC_SETLOCALE): Test whether setlocale supports
the "C" locale.
* lib/setlocale.c (setlocale_unixlike): New wrapper for Android.
* doc/posix-functions/setlocale.texi: Mention the Android bug.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Fri, 25 Jan 2019 23:26:24 +0100 |
parents | 342c23c60847 |
children | 8c1a17df67e0 |
line wrap: on
line source
#!/bin/sh tmpfiles="" trap 'rm -fr $tmpfiles' 1 2 3 15 tmpfiles="$tmpfiles t-tsearch.out" ./test-tsearch${EXEEXT} > t-tsearch.out 2>&1 test $? = 0 || { cat t-tsearch.out 1>&2; rm -f $tmpfiles; exit 1; } rm -f $tmpfiles exit 0