utime and rtime avg script doesn't clean up after itself
| Bugzilla Link | 504 |
| Created on | Jun 04, 2009 21:54 |
| Resolution | FIXED |
| Resolved on | Jun 08, 2009 11:50 |
| Version | unspecified |
| OS | All |
| Architecture | PC |
Extended Description
The "utime avg 8/10 acc 5%" and "rtime avg 8/10 acc 5%" scripts create files in /tmp but only remove these files if they exit successfully. The scripts call exit but should probably call a function called: cleanupandexit( returnCode) which handles the cleanup. Also if the user aborts the script with a HUP or a TERM signal then calling calling a cleanup function would be a really good idea! This bug has caused the /tmp directory on csa.science.uva.nl to overfill so the fix to cleanup /tmp at least needs to happen soon.