From 05228fbf0cd649ce5ccec67e1f64d02d1ffd1770 Mon Sep 17 00:00:00 2001 From: Glenn Washburn Date: Tue, 10 Jan 2023 16:08:59 -0600 Subject: [PATCH] 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 --- tests/util/grub-shell.in | 2 ++ 1 file changed, 2 insertions(+) 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