From: Glenn Washburn Date: Tue, 10 Jan 2023 22:08:59 +0000 (-0600) Subject: tests/util/grub-shell: Add halt_cmd variable to testcase namespace X-Git-Tag: grub-2.12-rc1~155 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=05228fbf0cd649ce5ccec67e1f64d02d1ffd1770;p=thirdparty%2Fgrub.git tests/util/grub-shell: Add halt_cmd variable to testcase namespace This allows test case scripts to use the appropriate halt command for the built architecture to end execution early. Otherwise, test case scripts have no way to know the appropriate mechanism for halting the test case early. Signed-off-by: Glenn Washburn Reviewed-by: Daniel Kiper --- diff --git a/tests/util/grub-shell.in b/tests/util/grub-shell.in index 2acc9e0fc..f5a6e822f 100644 --- a/tests/util/grub-shell.in +++ b/tests/util/grub-shell.in @@ -331,6 +331,8 @@ fi cfgfile="$work_directory/grub.cfg" cat <${cfgfile} grubshell=yes +halt_cmd=${halt_cmd} +export halt_cmd enable_progress_indicator=0 export enable_progress_indicator EOF