add test for Issue#873, 1011

This commit is contained in:
Ken Sato
2017-11-29 12:23:20 +09:00
parent 7f47dc78a1
commit 2d2d0af6fb
5 changed files with 60 additions and 12 deletions

View File

@ -0,0 +1,18 @@
#!/bin/sh
MCK_DIR=/home/satoken/ppos
REP_NUM=100
for i in `seq 1 ${REP_NUM}`
do
sudo ${MCK_DIR}/sbin/mcstop+release.sh
sleep 1
sudo ${MCK_DIR}/sbin/mcreboot.sh
if [ $? -ne 0 ]; then
echo "[NG] failed to boot Mckernel :${i}"
exit 1
fi
done
echo "[OK] succeed to boot McKernel ${i} times"