* grub-core/script/argv.c (grub_script_argv_split_append): Skip leading
spaces. * tests/grub_script_leading_whitespace.in: New file. * Makefile.util.def (grub_script_leading_whitespace): New test.
This commit is contained in:
parent
ba287dd8e0
commit
ac6fd21803
4 changed files with 20 additions and 0 deletions
4
tests/grub_script_leading_whitespace.in
Normal file
4
tests/grub_script_leading_whitespace.in
Normal file
|
@ -0,0 +1,4 @@
|
|||
#! @builddir@/grub-shell-tester
|
||||
|
||||
list=" 1 2 3"
|
||||
echo $list
|
Loading…
Add table
Add a link
Reference in a new issue