[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 5/6] grub-shell: Add halt_cmd variable to testcase namespace
From: |
Glenn Washburn |
Subject: |
[PATCH 5/6] grub-shell: Add halt_cmd variable to testcase namespace |
Date: |
Tue, 10 Jan 2023 16:08:59 -0600 |
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>
---
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 f41e1a0b68..8db6ba86ec 100644
--- a/tests/util/grub-shell.in
+++ b/tests/util/grub-shell.in
@@ -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
--
2.34.1
- [PATCH 0/6] Cryptomount testing, Glenn Washburn, 2023/01/10
- [PATCH 1/6] grub-shell: Set exit status to qemu exit status, Glenn Washburn, 2023/01/10
- [PATCH 2/6] grub-shell: Only cleanup working directory file if QEMU does not fail or timeout, Glenn Washburn, 2023/01/10
- [PATCH 3/6] grub-shell: Allow specifying non-default trim line contents, Glenn Washburn, 2023/01/10
- [PATCH 4/6] grub-shell: Trim line should always be matched from the beginning of the line, Glenn Washburn, 2023/01/10
- [PATCH 5/6] grub-shell: Add halt_cmd variable to testcase namespace,
Glenn Washburn <=
- [PATCH 6/6] tests: Add cryptomount functional test, Glenn Washburn, 2023/01/10
- Re: [PATCH 0/6] Cryptomount testing, Daniel Kiper, 2023/01/12