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 <development@efficientek.com> Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
This commit is contained in:
parent
f38d1b4c75
commit
05228fbf0c
@ -331,6 +331,8 @@ fi
|
||||
cfgfile="$work_directory/grub.cfg"
|
||||
cat <<EOF >${cfgfile}
|
||||
grubshell=yes
|
||||
halt_cmd=${halt_cmd}
|
||||
export halt_cmd
|
||||
enable_progress_indicator=0
|
||||
export enable_progress_indicator
|
||||
EOF
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user