2013-05-02 12:39:03 +00:00
|
|
|
#! /bin/bash
|
|
|
|
set -e
|
|
|
|
|
|
|
|
. "@builddir@/grub-core/modinfo.sh"
|
|
|
|
|
2013-08-02 20:59:21 +00:00
|
|
|
out=`echo all_functional_test | @builddir@/grub-shell --timeout=3600 --files="/boot/grub/fonts/unicode.pf2"="@builddir@/"unicode.pf2`
|
2013-05-02 12:39:03 +00:00
|
|
|
|
|
|
|
if [ "$(echo "$out" | tail -n 1)" != "ALL TESTS PASSED" ]; then
|
|
|
|
echo "Functional test failure: $out"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|