SIGCONT: don't terminate process
Change-Id: Ib959a9e5341fda37bd055724ecb9319a469b7420 Refs: #1410
This commit is contained in:
committed by
Masamichi Takagi
parent
adb6cce3ce
commit
4b252a990f
27
test/issues/1410+1420/C1410T01run.sh
Normal file
27
test/issues/1410+1420/C1410T01run.sh
Normal 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
|
||||
Reference in New Issue
Block a user