Test "mcexec additional options (h, m, n, O, stack-premap)" on arm64
Change-Id: I85d5deb0433cc1208e4b6837dcc6d6dc2a7b7b52
This commit is contained in:
committed by
Masamichi Takagi
parent
dc1f96fee3
commit
00395d68d4
37
test/mcexec_options/arm64/run_allow_oversubscribe.sh
Executable file
37
test/mcexec_options/arm64/run_allow_oversubscribe.sh
Executable 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}
|
||||
Reference in New Issue
Block a user