Files
mckernel/test/mng_mod/issues/863/arm64/CT200x.sh
Shiratori, Takehiro 556a64ac5e Test "signal: When the process receives a termination signal, it first terminates mcexec." on arm64
Change-Id: I5c8ab90ffd5c5da30162d606f4d86dca9d387b5a
Refs: #863
2018-12-04 05:06:07 +00:00

34 lines
519 B
Bash
Executable File

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