qemuimage-tests/dmesg: Add exception for error message on qemuarm with 3.8 kernel
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 2 Mar 2013 22:31:19 +0000 (22:31 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 2 Mar 2013 22:45:27 +0000 (22:45 +0000)
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>
scripts/qemuimage-tests/tools/dmesg.sh

index 66c0223..f0c9318 100644 (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 ######"