ieee1275: split up grub_machine_get_bootlocation
[grub.git] / tests / help_test.in
1 #! @BUILD_SHEBANG@
2 set -e
3
4 . "@builddir@/grub-core/modinfo.sh"
5
6 template="Usage: help [PATTERN ...]
7 Show a help message.
8
9 -h, --help              Display this help and exit.
10 -u, --usage             Display the usage of this command and exit.
11 Hello World"
12 outpu="$(echo 'help help; hello' | @builddir@/grub-shell)"
13
14 if [ "$template" != "$outpu" ]; then
15     exit 1
16 fi