]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
cmd/eficonfig: capitalize 'enter description'
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Fri, 25 Oct 2024 21:15:05 +0000 (23:15 +0200)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Wed, 30 Oct 2024 20:44:39 +0000 (21:44 +0100)
To conform with other messages capitalize the first letter:
%s/enter description/Enter description/g

Adjust the unit tests accordingly.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
cmd/eficonfig.c
test/py/tests/test_eficonfig/test_eficonfig.py

index bea09e4ecc7620f0caac55fc22955bb0afda5a72..029180250f0523872c8c8c7e07a01c72678fe10b 100644 (file)
@@ -963,7 +963,7 @@ static efi_status_t eficonfig_boot_add_enter_description(void *data)
        return handle_user_input(bo->description, EFICONFIG_DESCRIPTION_MAX, 22,
                                 "\n  ** Edit Description **\n"
                                 "\n"
-                                "  enter description: ");
+                                "  Enter description: ");
 }
 
 /**
index 1d8e033f75d843fca01b9450849002fcc9a8bb6c..d98de5249dfda3a01be8ac4409c41efe69d8dad1 100644 (file)
@@ -117,7 +117,7 @@ def test_efi_eficonfig(u_boot_console, efi_eficonfig_data):
         press_up_down_enter_and_wait(0, 0, True, 'Quit')
 
         # Press the enter key to select 'Description:' entry, then enter Description
-        press_up_down_enter_and_wait(0, 0, True, 'enter description:')
+        press_up_down_enter_and_wait(0, 0, True, 'Enter description:')
         # Send Description user input, press ENTER key to complete
         send_user_input_and_wait('test 1', 'Quit')
 
@@ -166,7 +166,7 @@ def test_efi_eficonfig(u_boot_console, efi_eficonfig_data):
         press_up_down_enter_and_wait(0, 0, True, 'Quit')
 
         # Press the enter key to select 'Description:' entry, then enter Description
-        press_up_down_enter_and_wait(0, 0, True, 'enter description:')
+        press_up_down_enter_and_wait(0, 0, True, 'Enter description:')
         # Send Description user input, press ENTER key to complete
         send_user_input_and_wait('test 2', 'Quit')
 
@@ -278,7 +278,7 @@ def test_efi_eficonfig(u_boot_console, efi_eficonfig_data):
             u_boot_console.p.expect([i])
 
         # Press the enter key to select 'Description:' entry, then enter Description
-        press_up_down_enter_and_wait(0, 0, True, 'enter description:')
+        press_up_down_enter_and_wait(0, 0, True, 'Enter description:')
         # Send Description user input, press ENTER key to complete
         send_user_input_and_wait('test 3', 'Quit')