summaryrefslogtreecommitdiff
path: root/scripts/qemuimage-tests/tools/dmesg.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/qemuimage-tests/tools/dmesg.sh')
-rw-r--r--scripts/qemuimage-tests/tools/dmesg.sh28
1 files changed, 0 insertions, 28 deletions
diff --git a/scripts/qemuimage-tests/tools/dmesg.sh b/scripts/qemuimage-tests/tools/dmesg.sh
deleted file mode 100644
index f0c93181bd..0000000000
--- a/scripts/qemuimage-tests/tools/dmesg.sh
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/bin/bash
-# Dmesg test script running in QEMU
-#
-# Author: Jiajun Xu <jiajun.xu@intel.com>
-#
-# This file is licensed under the GNU General Public License,
-# Version 2.
-#
-
-which dmesg
-if [ $? -ne 0 ]; then
- echo "QEMU: No dmesg command found"
- exit 1
-fi
-
-# 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 ######"
- dmesg | grep -i "error"
- echo "QEMU: ##### End ######"
- exit 1
-else
- echo "QEMU: No error log in dmesg"
- exit 0
-fi