SIGCONT: don't terminate process

Change-Id: Ib959a9e5341fda37bd055724ecb9319a469b7420
Refs: #1410
This commit is contained in:
Tomoki Shirasawa
2019-11-14 11:35:01 +09:00
committed by Masamichi Takagi
parent adb6cce3ce
commit 4b252a990f
11 changed files with 1939 additions and 5 deletions

View File

@ -0,0 +1,21 @@
#!/bin/sh
if [ "X$MCEXEC" = X ]; then
echo FAIL: No mcexec found >&2
exit 1
fi
$MCEXEC ./C1410T01 &
sleep 1
for i in `seq 1 5`
do
echo "send SIGSTOP"
kill -STOP `pidof mcexec`
sleep 1
echo "send SIGCONT"
kill -CONT `pidof mcexec`
sleep 1
done
echo "send SIGKILL"
kill -KILL `pidof mcexec`