* 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:
Vladimir 'phcoder' Serbinenko 2012-03-19 13:29:43 +01:00
parent ba287dd8e0
commit ac6fd21803
4 changed files with 20 additions and 0 deletions

View file

@ -0,0 +1,4 @@
#! @builddir@/grub-shell-tester
list=" 1 2 3"
echo $list