Difference between revisions of "EMI gLExec release test plan and report"
From PDP/Grid Wiki
Jump to navigationJump to searchLine 337: | Line 337: | ||
REPRODUCE: run glexec and flood it with signals after a very small delay, such that it traps signals e.g. during a syslog call. E.g. run several times: | REPRODUCE: run glexec and flood it with signals after a very small delay, such that it traps signals e.g. during a syslog call. E.g. run several times: | ||
− | + | <pre> | |
− | + | #!/bin/bash | |
− | + | export GLEXEC_CLIENT_CERT=/tmp/x509up_u`id -u` | |
− | + | export X509_USER_PROXY=/tmp/x509up_u`id -u` | |
− | + | /usr/sbin/glexec /usr/bin/id -a & | |
− | + | pid=$! | |
− | + | ps -fp $pid | |
− | + | for ((i=1; i<100; i++));do | |
− | + | s=$((i%64+1)) | |
− | + | ((s==9 || s==19 || s==32 || s==33)) && s=11 | |
− | + | kill -$s $pid | |
+ | done | ||
+ | </pre> | ||
CHECK: gLExec does not hang up, even after many times. | CHECK: gLExec does not hang up, even after many times. |