grub/tests/grub_func_test.in

13 lines
245 B
Text
Raw Normal View History

#! /bin/bash
set -e
. "@builddir@/grub-core/modinfo.sh"
2013-05-04 12:00:14 +00:00
out=`echo all_functional_test | @builddir@/grub-shell --timeout=3600`
if [ "$(echo "$out" | tail -n 1)" != "ALL TESTS PASSED" ]; then
echo "Functional test failure: $out"
exit 1
fi