Upgraded GRUB2 to 2.00 release.
[AROS.git] / arch / all-pc / boot / grub2-aros / tests / grub_script_gettext.in
blobcc42c67514352c53c6da65b3a871dcf2d3525db6
1 #! @builddir@/grub-shell-tester
3 # Copyright (C) 2010,2012  Free Software Foundation, Inc.
5 # GRUB is free software: you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation, either version 3 of the License, or
8 # (at your option) any later version.
10 # GRUB is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 # GNU General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with GRUB.  If not, see <http://www.gnu.org/licenses/>.
18 echo $"foo"
19 echo $"foo   bar"
21 echo -n $"foo"
23 echo -e $"foo\nbar"
25 echo -n -e $"foo\nbar"
27 x=5
28 echo $"$x"
29 echo $"\x\\y\$x$x\\$xx${x}x\"$x\""
31 echo $"$"
32 echo $"$,x"
34 echo $"one
36 echo $"one
37 \""
38 echo $"one
39 two"
41 echo one$"two
42 "three
43 echo one$"two
44 \""three
45 echo one$"two
46 \"three\"
47 four"
49 echo $"one\
51 echo $"one\
52 \""
53 echo $"one\
54 two"
56 echo one$"two\
57 "three
58 echo one$"two\
59 \""three
60 echo one$"two\
61 \"three\"\
62 four"
64 if test -n "$grubshell"; then insmod regexp; fi
66 echo $"*"
68 foo="*"
69 echo $"$foo"