grub/tests/help_test.in
Leo Sandoval cdbc6ffbb8 tests: Increase verbosity in *_test.in checks
In this case it does not hurt to increase bash execution verbosity so
we can get more insight in case of issues.

Signed-off-by: Leo Sandoval <lsandova@redhat.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
2025-11-06 20:50:54 +01:00

20 lines
419 B
Plaintext

#! @BUILD_SHEBANG@
set -ex
. "@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