]>
Commit | Line | Data |
---|---|---|
a827807a | 1 | #! @BUILD_SHEBANG@ |
f7457fb2 VS |
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 |