File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,15 +31,14 @@ for f in `cat ./TORUN`; do
3131 if [ " $status " -eq " 0" ]; then # success
3232 echo " || Success. Written to $SUCCEEDED "
3333 echo " - [x] $f " >> $SUCCEEDED
34- elif [ " $status " -eq " 124 " ]; then # timeout
34+ elif [ " $status " -gt " 128 " ]; then # timeout
3535 # If there is timeout then add to BLACKLISTED
36- echo " || Timed out, limit $TIMEOUT minutes "
36+ echo " || Killed by signal status: $status "
3737 echo " - [ ] $f " >> $BLACKLISTED
3838 sed -i ' s/^/\ \ /' $TEMP
3939 printf " \n\` i\`\` \n" >> $BLACKLISTED
4040 cat $TEMP >> $BLACKLISTED
4141 printf " \`\`\` \n" >> $BLACKLISTED
42- echo " || Took too much time. Blacklisted" ;
4342 else # Failed
4443 echo " || Failed with status " $status " "
4544 echo " - [ ] $f " >> $FAILED
@@ -57,7 +56,7 @@ echo "Following scripts were successful"
5756cat $SUCCEEDED
5857
5958if [ -f $BLACKLISTED ]; then
60- echo " Following scripts were blacklisted due to timeout"
59+ echo " Following scripts were blacklisted due to timeout or singal interrupt "
6160 cat $BLACKLISTED
6261fi
6362
You can’t perform that action at this time.
0 commit comments