Test "mcexec_destroy_per_process_data: System calls delegation can not be terminated in error when the last process that closed /dev/mcos0 is a child process." on arm64
Change-Id: I6bc3023c1fa6089bc2ca6365b59bbab384b3e1d7 Refs: #882
This commit is contained in:
committed by
Masamichi Takagi
parent
0ee446923a
commit
a11d4d7a9d
38
test/mng_mod/issues/882/arm64/run.sh
Executable file
38
test/mng_mod/issues/882/arm64/run.sh
Executable file
@ -0,0 +1,38 @@
|
||||
#!/bin/sh
|
||||
## run.sh COPYRIGHT FUJITSU LIMITED 2018 ##
|
||||
|
||||
USELTP=1
|
||||
USEOSTEST=0
|
||||
|
||||
. ../../../../common.sh
|
||||
|
||||
STRESSBIN=
|
||||
|
||||
result=0
|
||||
for i in `seq 1 5`
|
||||
do
|
||||
${STRESSBIN}/mck-mcexec.sh ${STRESSBIN}/killit -np 16 -t 4000 - ${STRESSBIN}/signalonfork -nosignal
|
||||
if [ $? != 0 ]; then
|
||||
result=-1
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
if [ ${result} == 0 ]; then
|
||||
echo "CT1001-3: OK"
|
||||
else
|
||||
echo "CT1001-3: NG"
|
||||
fi
|
||||
|
||||
while read line
|
||||
do
|
||||
${MCEXEC} ${LTPBIN}/${line} > /dev/null
|
||||
if [ $? == 0 ]; then
|
||||
echo "${line}: OK"
|
||||
else
|
||||
echo "${line}: NG"
|
||||
result=-1
|
||||
fi
|
||||
done < ./ltplist.txt
|
||||
|
||||
exit ${result}
|
||||
Reference in New Issue
Block a user