shmobj: Support large page

Mixing page sizes is allowed by shmobj.

Change-Id: Ic48b71da2db6ce3f68fa3dbc8ad5ae96347d6018
Refs: #1381
Refs: #1458
This commit is contained in:
Ken Sato
2020-01-15 15:45:17 +09:00
committed by Masamichi Takagi
parent 4b66373813
commit 9a60997ea0
32 changed files with 2212 additions and 75 deletions

View File

@@ -0,0 +1,21 @@
#/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