1999-04-12  Tim Waugh  <tim@cyberelk.demon.co.uk>

	* posix/wordexp-test.c: In field-splitting test cases where
	subshells were involved, unset IFS first: some shells (ash) use
	IFS even when no expansion is performed.
This commit is contained in:
Ulrich Drepper 1999-04-12 23:45:52 +00:00
parent 2799531132
commit b2900a1342
4 changed files with 123 additions and 12 deletions

View File

@ -1,3 +1,9 @@
1999-04-12 Tim Waugh <tim@cyberelk.demon.co.uk>
* posix/wordexp-test.c: In field-splitting test cases where
subshells were involved, unset IFS first: some shells (ash) use
IFS even when no expansion is performed.
1999-04-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* libio/obprintf.c (_IO_obstack_overflow): Put the write end at

View File

@ -1,3 +1,7 @@
1999-04-12 Ulrich Drepper <drepper@cygnus.com>
* locales/id_ID: New file.
1999-04-10 Ulrich Drepper <drepper@cygnus.com>
* charmaps/TIS-620: New file.

94
localedata/locales/id_ID Normal file
View File

@ -0,0 +1,94 @@
escape_char /
comment_char %
% Indonesian language locale for Indonesia
% Source:
% Address:
% Contact: Pablo Saratxaga, Mohammad DAMT
% Email: srtxg@chanae.alphanet.ch, mdamt@cakraweb.com
% Tel:
% Fax:
% Language: id
% Territory: ID
% Revision: 0.3
% Date: 1999-04-10
% Application: general
% Users: general
% Repertoiremap:
% Charset: ISO-8859-1
% Distribution and use is free, also
% for commercial purposes.
LC_CTYPE
copy "en_DK"
END LC_CTYPE
LC_COLLATE
copy "en_DK"
END LC_COLLATE
LC_MONETARY
int_curr_symbol "<I><D><R><SP>"
currency_symbol "<R><p>"
mon_decimal_point "<,>"
mon_thousands_sep "<.>"
mon_grouping 3;3
positive_sign ""
negative_sign "<->"
int_frac_digits 2
frac_digits 2
p_cs_precedes 1
p_sep_by_space 0
n_cs_precedes 1
n_sep_by_space 0
p_sign_posn 1
n_sign_posn 1
END LC_MONETARY
LC_NUMERIC
decimal_point "<,>"
thousands_sep "<.>"
grouping 3;3
END LC_NUMERIC
LC_TIME
abday "<M><i><n>";"<S><e><n>";/
"<S><e><l>";"<R><a><b>";/
"<K><a><m>";"<J><u><m>";/
"<S><a><b>"
day "<M><i><n><g><g><u>";/
"<S><e><n><i><n>";/
"<S><e><l><a><s><a>";/
"<R><a><b><u>";/
"<K><a><m><i><s>";/
"<J><u><m><a><t>";/
"<S><a><b><t><u>"
abmon "<J><a><n>";"<P><e><b>";/
"<M><a><r>";"<A><p><r>";/
"<M><e><i>";"<J><u><n>";/
"<J><u><l>";"<A><g><u>";/
"<S><e><p>";"<O><k><t>";/
"<N><o><v>";"<D><e><s>"
mon "<J><a><n><u><a><r><i>";/
"<P><e><b><r><u><a><r><i>";/
"<M><a><r><e><t>";/
"<A><p><r><i><l>";/
"<M><e><i>";/
"<J><u><n><i>";/
"<J><u><l><i>";/
"<A><g><u><s><t><u><s>";/
"<S><e><p><t><e><m><b><e><r>";/
"<O><k><t><o><b><e><r>";/
"<N><o><p><e><m><b><e><r>";/
"<D><e><s><e><m><b><e><r>"
d_t_fmt "<%><a><SP><%><d><SP><%><b><SP><%><Y><SP><%><r><SP><%><Z>"
d_fmt "<%><d><//><%><m><//><%><y>"
t_fmt "<%><T>"
am_pm "";""
t_fmt_ampm ""
END LC_TIME
LC_MESSAGES
yesexpr "<<(><y><Y><)/>><.><*>"
noexpr "<<(><t><T><n><N><)/>><.><*>"
END LC_MESSAGES

View File

@ -56,19 +56,26 @@ struct test_case_struct
* but does NOT start a new field. */
{ 0, ":abc:", "$var", 0, 2, { "", "abc", }, ":" },
{ 0, NULL, "$(echo :abc:)", 0, 2, { "", "abc", }, ":" },
{ 0, NULL, "$(echo :abc:\\ )", 0, 2, { "", "abc", }, ": " },
{ 0, NULL, "$(echo :abc\\ )", 0, 2, { "", "abc", }, ": " },
{ 0, ":abc:", "$(echo $var)", 0, 2, { "", "abc", }, ":" },
{ 0, NULL, "$(unset IFS;echo :abc:)", 0, 2, { "", "abc", }, ":" },
{ 0, NULL, "$(unset IFS;echo :abc:\\ )", 0, 2, { "", "abc", }, ": " },
{ 0, NULL, "$(unset IFS;echo :abc\\ )", 0, 2, { "", "abc", }, ": " },
{ 0, ":abc:", "$(unset IFS;echo $var)", 0, 2, { "", "abc", }, ":" },
{ 0, NULL, ":abc:", 0, 1, { ":abc:", }, ":" },
{ 0, NULL, "$(echo :abc:)def", 0, 3, { "", "abc", "def", }, ":" },
{ 0, NULL, "$(echo abc:de)f", 0, 2, { "abc", "def", }, ":" },
{ 0, NULL, "$(echo abc:de)f:ghi", 0, 2, { "abc", "def:ghi", }, ":" },
{ 0, NULL, "abc:d$(echo ef:ghi)", 0, 2, { "abc:def", "ghi", }, ":" },
{ 0, "abc:", "$var$(echo def:ghi)", 0, 3, { "abc", "def", "ghi", }, ":" },
{ 0, "abc:d", "$var$(echo ef:ghi)", 0, 3, { "abc", "def", "ghi", }, ":" },
{ 0, "def:ghi", "$(echo abc:)$var", 0, 3, { "abc", "def", "ghi", }, ":" },
{ 0, "ef:ghi", "$(echo abc:d)$var", 0, 3, { "abc", "def", "ghi", }, ":" },
{ 0, NULL, "$(unset IFS;echo :abc:)def", 0, 3, { "", "abc", "def", },
":" },
{ 0, NULL, "$(unset IFS;echo abc:de)f", 0, 2, { "abc", "def", }, ":" },
{ 0, NULL, "$(unset IFS;echo abc:de)f:ghi", 0, 2, { "abc", "def:ghi", },
":" },
{ 0, NULL, "abc:d$(unset IFS;echo ef:ghi)", 0, 2, { "abc:def", "ghi", },
":" },
{ 0, "abc:", "$var$(unset IFS;echo def:ghi)", 0, 3, { "abc", "def",
"ghi", }, ":" },
{ 0, "abc:d", "$var$(unset IFS;echo ef:ghi)", 0, 3, { "abc", "def",
"ghi", }, ":" },
{ 0, "def:ghi", "$(unset IFS;echo abc:)$var", 0, 3, { "abc", "def",
"ghi", }, ":" },
{ 0, "ef:ghi", "$(unset IFS;echo abc:d)$var", 0, 3, { "abc", "def",
"ghi", }, ":" },
/* Simple parameter expansion */
{ 0, "foo", "${var}", 0, 1, { "foo", }, IFS },