Don't fail when locale env. vars specify a dot-less locale name.
[bpt/guile.git] / test-suite / standalone / test-command-line-encoding2
CommitLineData
5de00531
LC
1#!/bin/sh
2
3# Choose a locale name that lacks a dot followed by the encoding name.
4# This should not confuse `environ_locale_charset'.
5# See <http://bugs.gnu.org/10742> for the original bug report.
6LC_ALL="en_US"
7export LC_ALL
8unset LANG
9unset LC_CTYPE
10
11exec guile -q -s "$0" "hello"
12!#
13
14;; Make sure our argument was suitable decoded.
15(exit (string=? (cadr (program-arguments)) "hello"))
16
17;; Local Variables:
18;; mode: scheme
19;; coding: iso-8859-1
20;; End: