]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
tests/util/grub-shell: Allow setting default timeout via GRUB_SHELL_DEFAULT_TIMEOUT...
authorGlenn Washburn <development@efficientek.com>
Tue, 11 Jul 2023 03:01:17 +0000 (22:01 -0500)
committerDaniel Kiper <daniel.kiper@oracle.com>
Mon, 14 Aug 2023 15:01:13 +0000 (17:01 +0200)
Signed-off-by: Glenn Washburn <development@efficientek.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
tests/util/grub-shell.in

index 5cbe79447e994f9d3b029fe42e7325a3b70fc4de..9669b7227c10febe3cba9aef39a7e92572c2c5cb 100644 (file)
@@ -225,7 +225,7 @@ case "${grub_modinfo_target_cpu}-${grub_modinfo_platform}" in
        console=console;;
 esac
 
-timeout=60
+timeout=${GRUB_SHELL_DEFAULT_TIMEOUT:-60}
 mkimage_extra_arg=
 debug=${GRUB_SHELL_DEFAULT_DEBUG:-$GRUB_TEST_DEFAULT_DEBUG}