shmobj: support large page

Change-Id: I104c1b8551b87f5cbfedb13262e77c00c38e9643
This commit is contained in:
Yoshihisa Morizumi
2021-01-28 10:38:41 +09:00
committed by Masamichi Takagi
parent d2db639853
commit 47aec70f5f
32 changed files with 2219 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