Test "mcexec additional options (h, m, n, O, stack-premap)" on arm64

Change-Id: I85d5deb0433cc1208e4b6837dcc6d6dc2a7b7b52
This commit is contained in:
Shiratori, Takehiro
2018-11-23 16:03:33 +09:00
committed by Masamichi Takagi
parent dc1f96fee3
commit 00395d68d4
13 changed files with 866 additions and 0 deletions

View File

@@ -0,0 +1,37 @@
#!/bin/sh
## run_allow_oversubscribe.sh COPYRIGHT FUJITSU LIMITED 2018 ##
USELTP=0
USEOSTEST=0
. ../../common.sh
. ./config
result=0
####################
## -O option test ##
####################
${MCEXEC} ./allow_oversubscribe 4
if [ `echo $?` != 0 ]; then
echo "TEST021: OK"
else
echo "TEST021: NG, not -O setting mcexec."
result=-1
fi
BOOTPARAM="${BOOTPARAM} -O"
((${MCSTOP-1})) && mcstop
((${MCREBOOT-1})) && mcreboot
${MCEXEC} ./allow_oversubscribe 4
if [ `echo $?` == 0 ]; then
echo "TEST022: OK"
else
echo "TEST022: NG, -O setting mcexec."
result=-1
fi
exit ${result}