]> code.ossystems Code Review - openembedded-core.git/commitdiff
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:44:16 +0000 (22:44 +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.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/qemuimage-tests/tools/dmesg.sh

index 66c022343b0130f5ee6d3dadf5943aa7a4014b11..f0c93181bda7420b5501343c74ee1da90d18c920 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 ######"