# Bazaar merge directive format 2 (Bazaar 0.90) # revision_id: address@hidden # target_branch: file:///home/bvk/Work/grub2/mainline/ # testament_sha1: b34fa1addf6d937190819406127d3e76b86623a3 # timestamp: 2010-03-22 17:44:27 +0530 # base_revision_id: address@hidden # q8ppihzgyjyifcke # # Begin patch === modified file 'conf/tests.rmk' --- conf/tests.rmk 2010-01-22 13:37:27 +0000 +++ conf/tests.rmk 2010-03-22 08:32:48 +0000 @@ -50,6 +50,9 @@ check_SCRIPTS += grub_script_vars1 grub_script_vars1_SOURCES = tests/grub_script_vars1.in +check_SCRIPTS += grub_script_final_semicolon +grub_script_final_semicolon_SOURCES = tests/grub_script_final_semicolon.in + # List of tests to execute on "make check" # SCRIPTED_TESTS = example_scripted_test # SCRIPTED_TESTS += example_grub_script_test @@ -59,6 +62,7 @@ SCRIPTED_TESTS = grub_script_echo1 SCRIPTED_TESTS += grub_script_echo_keywords SCRIPTED_TESTS += grub_script_vars1 +SCRIPTED_TESTS += grub_script_final_semicolon # dependencies between tests and testing-tools $(SCRIPTED_TESTS): grub-shell grub-shell-tester === modified file 'script/parser.y' --- script/parser.y 2010-01-25 16:31:14 +0000 +++ script/parser.y 2010-03-22 08:33:20 +0000 @@ -92,7 +92,7 @@ { $$ = 0; } - | script statement delimiter + | script statement delimiter newlines0 { struct grub_script_cmdblock *cmdblock; cmdblock = (struct grub_script_cmdblock *) $1; === added file 'tests/grub_script_final_semicolon.in' --- tests/grub_script_final_semicolon.in 1970-01-01 00:00:00 +0000 +++ tests/grub_script_final_semicolon.in 2010-03-22 08:32:48 +0000 @@ -0,0 +1,10 @@ +#! /bin/sh -e + address@hidden@/grub-script-check <