1
0
Fork 0
grub2/tests/help_test.in
Daniel Baumann 6a7a3b2a63
Adding upstream version 2.12.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-22 15:25:07 +02:00

19 lines
418 B
Text

#! @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