Test "signal: When the process receives a termination signal, it first terminates mcexec." on arm64

Change-Id: I5c8ab90ffd5c5da30162d606f4d86dca9d387b5a
Refs: #863
This commit is contained in:
Shiratori, Takehiro
2018-11-29 20:00:09 +09:00
committed by Masamichi Takagi
parent 3f11c1aee5
commit 556a64ac5e
41 changed files with 830 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
#!/bin/sh
## CT200x.sh COPYRIGHT FUJITSU LIMITED 2018 ##
USELTP=0
USEOSTEST=0
. ../../../../common.sh
STRESSBIN=
${MCEXEC} ${STRESSBIN}/signalonread
if [ $? == 0 ]; then
echo "CT1001-2: OK"
else
echo "CT1001-2: NG"
fi
exist=`ls -l | grep testfile | grep -c $((2 * 1024 * 1024 * 1024))`
if [ ${exist} == 0 ]; then
dd if=/dev/zero of=testfile bs=$((1024 * 1024)) count=$((2 * 1024))
sync
fi
export PATH=$BIN:$PATH
./CT2001.sh
./CT2002.sh
./CT2003.sh
./CT2004.sh
./CT2005.sh
./CT2006.sh
./CT2007.sh
./CT2008.sh