grub/tests/grub_func_test.in
Vladimir 'phcoder' Serbinenko b7c036bce3 More video checks.
2013-05-04 14:00:14 +02:00

12 lines
245 B
Bash

#! /bin/bash
set -e
. "@builddir@/grub-core/modinfo.sh"
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