Test "Error handling improvement" on arm64

The following test set:
  execve: fix memory leak
  add: NULL check for master_channel at IKC interrupt_handler.
  Fix the check routine for elf sections (Fujitsu: POSTK_TEMP_FIX_77)

Change-Id: I16c2a341c48f6df10a4839be08b93ea16bda8fbe
Refs: #727
Refs: #873
Refs: #1011
This commit is contained in:
Shiratori, Takehiro
2018-12-04 17:09:33 +09:00
committed by Masamichi Takagi
parent ec844bb6e3
commit 95e90c727e
22 changed files with 830 additions and 60 deletions

View File

@ -0,0 +1,33 @@
#!/bin/sh
## run_issue727.sh COPYRIGHT FUJITSU LIMITED 2018 ##
USELTP=0
USEOSTEST=0
. ../../common.sh
result=-1
########################
# Issue727 test(patch) #
########################
make
${MCEXEC} ./exec
if [ $? != 0 ]; then
output=`${IHKOSCTL} 0 get status`
echo "${output}" | grep -q "PANIC"
if [ $? == 1 ]; then
echo "Issue727_0002: OK"
result=0
else
echo "McKernel PANIC detected."
fi
fi
if [ ${result} != 0 ]; then
echo "Issue727_0002: NG"
fi
exit ${result}