Subject: | Test generates predictable filename in /tmp |
As per subject. Filename is /tmp/device::uptime_test
May I suggest that this be amended to use File::Temp to produce (1) unpredictable files?
Predictable filenames in /tmp have rather nasty security implications when people run the tests as root so should be avoided. You can read up on the topic at http://www.linuxsecurity.com/content/view/115462/151/
Besides that, File::Temp can clean up when the test is done and it would prevent that parallel running tests disturb each other.
Thanks!