mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-24 08:09:22 +00:00
tests: Fix help test to reflect updated help output
Commit f5759a878 (normal/help: Add paging instructions to normal and help
prompts) changed the output of the help command, which broke the help
test. This change allows the test to pass.
On the occasion do s/outpu/output/.
Signed-off-by: Glenn Washburn <development@efficientek.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
This commit is contained in:
1 parent
35782e165f
commit
72daccfb56
1 file changed
+6
-3
+6
-3
@@ -8,9 +8,12 @@ Show a help message.
|
||||
|
||||
-h, --help Display this help and exit.
|
||||
-u, --usage Display the usage of this command and exit.
|
||||
Hello World"
|
||||
outpu="$(echo 'help help; hello' | @builddir@/grub-shell)"
|
||||
|
||||
if [ "$template" != "$outpu" ]; then
|
||||
|
||||
To enable less(1)-like paging, \"set pager=1\".
|
||||
Hello World"
|
||||
output="$(echo 'help help; hello' | @builddir@/grub-shell)"
|
||||
|
||||
if [ "$template" != "$output" ]; then
|
||||
exit 1
|
||||
fi
|
||||
Reference in new issue
Block a user