Mixing page sizes is allowed by shmobj. Change-Id: Ic48b71da2db6ce3f68fa3dbc8ad5ae96347d6018 Refs: #1381 Refs: #1458
22 lines
515 B
Bash
Executable File
22 lines
515 B
Bash
Executable File
#/bin/sh
|
|
|
|
USELTP=1
|
|
USEOSTEST=0
|
|
|
|
. ../../common.sh
|
|
|
|
for tp in shmat01 shmat02 shmat03 shmctl01 shmctl02 shmctl03 shmctl04 shmdt01 shmdt02 shmget01 shmget02 shmget03 shmget04 shmget05
|
|
do
|
|
tname=`printf "" ${tid}`
|
|
echo "*** LTP-${tp} start *******************************"
|
|
sudo $MCEXEC $LTPBIN/$tp 2>&1 | tee $tp.ltplog
|
|
ok=`grep PASS $tp.ltplog | wc -l`
|
|
ng=`grep FAIL $tp.ltplog | wc -l`
|
|
if [ $ng = 0 ]; then
|
|
echo "*** ${tname} PASSED ($ok)"
|
|
else
|
|
echo "*** ${tname} FAILED (ok=$ok ng=$ng)"
|
|
fi
|
|
echo ""
|
|
done
|