Files
mckernel/test/issues/1001/C1001.sh
Ken Sato e803698618 test: Refactor test programs
Change-Id: I77fec2f5f30f6fda3bda6f85ce00f1c2e7f7a9b3
2018-09-25 12:45:20 +09:00

24 lines
434 B
Bash

#!/bin/sh
USELTP=1
USEOSTEST=0
. ../../common.sh
${MCEXEC} ./CT_001
${MCEXEC} ./CT_002
./CT_003
./CT_004
tid=001
echo "*** LT_$tid start *******************************"
${MCEXEC} ${LTPBIN}/perf_event_open01 2>&1 | tee ./LT_${tid}.txt
ok=`grep TPASS LT_${tid}.txt | wc -l`
ng=`grep TFAIL LT_${tid}.txt | wc -l`
if [ $ng = 0 ]; then
echo "*** LT_$tid: PASSED (ok:$ok)"
else
echo "*** LT_$tid: FAILED (ok:$ok, ng:$ng)"
fi
echo ""