diff options
author | Bruno Haible <bruno@clisp.org> | 2003-09-16 08:52:23 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2009-06-23 12:10:59 +0200 |
commit | 1bf5e3532e78a5d3c994bef14f219e6ff895aeec (patch) | |
tree | 0d70c505029cf5f759f3a8d455b5c076b13e1f6a /gettext-tools/tests/format-sh-2 | |
parent | 166ecfbfaef2f905116da2f4654b08b95558442a (diff) | |
download | external_gettext-1bf5e3532e78a5d3c994bef14f219e6ff895aeec.zip external_gettext-1bf5e3532e78a5d3c994bef14f219e6ff895aeec.tar.gz external_gettext-1bf5e3532e78a5d3c994bef14f219e6ff895aeec.tar.bz2 |
Support only simple access to shell variables, only ASCII names, and
no $0 or $?.
Diffstat (limited to 'gettext-tools/tests/format-sh-2')
-rwxr-xr-x | gettext-tools/tests/format-sh-2 | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gettext-tools/tests/format-sh-2 b/gettext-tools/tests/format-sh-2 index e19cc39..cf8bbf0 100755 --- a/gettext-tools/tests/format-sh-2 +++ b/gettext-tools/tests/format-sh-2 @@ -19,9 +19,12 @@ msgstr "xyz$file" # Invalid: added argument msgid "abc$file" msgstr "xyz$file in $dir" +# Valid: braces or not, doesn't matter +msgid "abc$file" +msgstr "xyz${file}" # Invalid: different default value -msgid "abc${file-/tmpdir}" -msgstr "xyz$file" +msgid "abc$file" +msgstr "xyz${file-/tmpdir}" EOF : ${MSGFMT=msgfmt} |