* 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

@ -540,6 +540,12 @@ script = {
common = tests/grub_script_echo1.in;
};
script = {
testcase;
name = grub_script_leading_whitespace;
common = tests/grub_script_leading_whitespace.in;
};
script = {
testcase;
name = grub_script_echo_keywords;