* grub-core/script/yylex.l: Ugly fix for "\\\n ".
* tests/grub_script_echo1.in: Add tests.
This commit is contained in:
parent
df760f778a
commit
eea1e26e52
3 changed files with 55 additions and 1 deletions
|
@ -144,5 +144,33 @@ echo "one\
|
|||
echo "one\
|
||||
two"
|
||||
|
||||
echo one \
|
||||
two
|
||||
|
||||
echo one x\
|
||||
two
|
||||
|
||||
echo one x\
|
||||
"x" two
|
||||
echo one x\
|
||||
'x' two
|
||||
echo one x\
|
||||
\\ two
|
||||
|
||||
echo one x\
|
||||
\
|
||||
x
|
||||
|
||||
echo one x\
|
||||
|
||||
|
||||
|
||||
echo one x\
|
||||
;
|
||||
|
||||
echo one x\
|
||||
$var
|
||||
|
||||
|
||||
if test x$grubshell = xyes; then insmod regexp; fi
|
||||
echo /boot/grub/i386-pc/normal.mod
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue