include interrupt handling time into system time
Change-Id: If2ed2d488b4040d288d712f0a244505adbcec6f5 Refs: #1221
This commit is contained in:
committed by
Masamichi Takagi
parent
ba80dd8650
commit
f115bae8a7
21
test/issues/1221/C1221.sh
Normal file
21
test/issues/1221/C1221.sh
Normal file
@ -0,0 +1,21 @@
|
||||
#!/bin/sh
|
||||
USELTP=1
|
||||
USEOSTEST=0
|
||||
|
||||
. ../../common.sh
|
||||
|
||||
################################################################################
|
||||
$MCEXEC ./C1221T01
|
||||
|
||||
for i in getrusage01:02 getrusage02:03 getrusage03:04 getrusage04:05; do
|
||||
tp=`echo $i|sed 's/:.*//'`
|
||||
id=`echo $i|sed 's/.*://'`
|
||||
PATH=$PATH:$LTPBIN $MCEXEC $LTPBIN/$tp 2>&1 | tee $tp.txt
|
||||
ok=`grep TPASS $tp.txt | wc -l`
|
||||
ng=`grep TFAIL $tp.txt | wc -l`
|
||||
if [ $ng = 0 ]; then
|
||||
echo "*** C1221T$id: $tp PASS ($ok)"
|
||||
else
|
||||
echo "*** C1221T$id: $tp FAIL (ok=$ok ng=%ng)"
|
||||
fi
|
||||
done
|
||||
Reference in New Issue
Block a user