* grub-core/script/yylex.l: Ugly fix for "\\\n ".

* tests/grub_script_echo1.in: Add tests.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-05-08 23:20:02 +02:00
parent df760f778a
commit eea1e26e52
3 changed files with 55 additions and 1 deletions

View file

@ -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