mirror of
https://git.proxmox.com/git/grub2
synced 2025-11-01 04:03:02 +00:00
If we don't have writable grubenv, recordfail doesn't work, which means our quickboot behavior - with a timeout of 0 - leaves the user without a reliable way to access the boot menu if they're on UEFI, because unlike BIOS, UEFI does not support checking the state of modifier keys (i.e. holding down shift at boot is not detectable). Handle this corner case by always using a non-zero timeout on EFI when save_env doesn't work. Reuse GRUB_RECORDFAIL_TIMEOUT to avoid introducing another variable.
30 lines
947 B
Diff
30 lines
947 B
Diff
From 8595788e304952cf7893feeb38382f0bffa405ea Mon Sep 17 00:00:00 2001
|
|
From: Colin Watson <cjwatson@debian.org>
|
|
Date: Mon, 13 Jan 2014 12:13:32 +0000
|
|
Subject: Ignore functional test failures for now as they are broken
|
|
|
|
See: https://lists.gnu.org/archive/html/grub-devel/2013-11/msg00242.html
|
|
|
|
Forwarded: not-needed
|
|
Last-Update: 2013-11-19
|
|
|
|
Patch-Name: ignore-grub_func_test-failures.patch
|
|
---
|
|
tests/grub_func_test.in | 4 +++-
|
|
1 file changed, 3 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/tests/grub_func_test.in b/tests/grub_func_test.in
|
|
index c67f9e422..728cd6e06 100644
|
|
--- a/tests/grub_func_test.in
|
|
+++ b/tests/grub_func_test.in
|
|
@@ -16,6 +16,8 @@ out=`echo all_functional_test | @builddir@/grub-shell --timeout=3600 --files="/b
|
|
|
|
if [ "$(echo "$out" | tail -n 1)" != "ALL TESTS PASSED" ]; then
|
|
echo "Functional test failure: $out"
|
|
- exit 1
|
|
+ # Disabled temporarily due to unrecognised video checksum failures.
|
|
+ #exit 1
|
|
+ exit 0
|
|
fi
|
|
|