qemuimage-tests/dmesg: Add exception for error message on qemuarm with 3.8 kernel

With 3.8 kernels we get a harmless error message during kernel boot.
For now we can ignore. This allows the tests to pass and ensures we
can merge the 3.8 kernel.

(From OE-Core rev: da1e094c407353af2ab230c4867c9d8fd68e3161)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie 2013-03-02 22:31:19 +00:00
parent 68e1c56788
commit d5267afa63
1 changed files with 3 additions and 1 deletions

View File

@ -13,7 +13,9 @@ if [ $? -ne 0 ]; then
exit 1
fi
dmesg | grep -iq "error"
# For now, ignore mmci-pl18x errors on qemuarm which appeared
# from the 3.8 kernel and are harmless
dmesg | grep -v mmci-pl18x | grep -iq "error"
if [ $? -eq 0 ]; then
echo "QEMU: There is some error log in dmesg:"
echo "QEMU: ##### Error Log ######"