Files
mckernel/test/mcexec_options/arm64/run_allow_oversubscribe.sh
Shiratori, Takehiro 00395d68d4 Test "mcexec additional options (h, m, n, O, stack-premap)" on arm64
Change-Id: I85d5deb0433cc1208e4b6837dcc6d6dc2a7b7b52
2018-11-27 05:12:43 +00:00

38 lines
590 B
Bash
Executable File

#!/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}