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:
parent
35782e165f
commit
72daccfb56
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user