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,27 @@
#!/bin/sh
script -c 'sh ./C1410T01.sh' C1410T01.log
awk '
/send (SIGCONT|SIGKILL)/{
if (st>0) {
if (n > 5) {
ok++
}
else{
ng++
}
}
st++
n=0
next
}
{n++}
END{
if (ng > 0) {
printf("*** C1410T01 FAIL ng=%d ok=%d\n", ng, ok)
exit(1)
}
else {
printf("*** C1410T01 PASS ng=%d ok=%d\n", ng, ok)
exit(0)
}
}' C1410T01.log