diff --git a/tests/help_test.in b/tests/help_test.in index b08cf2013..9c8ca52c8 100644 --- a/tests/help_test.in +++ b/tests/help_test.in @@ -8,9 +8,12 @@ Show a help message. -h, --help Display this help and exit. -u, --usage Display the usage of this command and exit. -Hello World" -outpu="$(echo 'help help; hello' | @builddir@/grub-shell)" -if [ "$template" != "$outpu" ]; then + +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