First automated video test (running videotest and comparing results)

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2013-05-02 14:39:03 +02:00
parent cd0f6eec7b
commit 5036166022
16 changed files with 1150 additions and 97 deletions

12
tests/grub_func_test.in Normal file
View file

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