aboutsummaryrefslogtreecommitdiffstats
path: root/dung-3.4.25-m2/cmt/proc-interrupts.sh
blob: f400595cbabb89b2baa43358363042ec2f19d03f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

set -e
#set -x

echo "sh_cmt.0 /proc/interrupts presence test"

IRQ=174
DIV_NAME="sh_cmt.0"
if $(dirname $0)/../common/proc-interrupts.sh "$DIV_NAME" | grep "$IRQ"; then
	echo "Test passed"
else
	echo "Test has not passed"
fi