summaryrefslogtreecommitdiff
path: root/test/panicsel-c.sh
blob: c668be85a6f515d2eda72147ad45ec5c5913636d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# ABAT test for panicsel component utilities
# tag: rh71__build
# util=/usr/share/panicsel/showsel
util=/usr/sbin/isel
echo "panicsel component, basic acceptance test"
if [ ! -f $util ]
then
   echo "%%FAILURE%%"
   exit 1
fi
$util >/dev/null 2>&1
if [ $? -eq 0 ]
then
   echo "%%SUCCESS%%"
   exit 0
else
   echo "%%FAILURE%%"
   exit 1
fi