mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 06:49:35 +00:00
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>
20 lines
418 B
Plaintext
20 lines
418 B
Plaintext
#! @BUILD_SHEBANG@
|
|
set -e
|
|
|
|
. "@builddir@/grub-core/modinfo.sh"
|
|
|
|
template="Usage: help [PATTERN ...]
|
|
Show a help message.
|
|
|
|
-h, --help Display this help and exit.
|
|
-u, --usage Display the usage of this command and exit.
|
|
|
|
|
|
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
|