Perl Testing
Writing test cases for Perl code with Test::More is fun!
It is slightly less fun when you have to come up with creative solutions to the problem of your code requiring root privileges - which means that your script + tests will fail when run by a mere mortal user.
I was thinking I could run my test cases at the time that the Debian package is built, (and do so), but I realise now that the buildd system doesn't run with root privileges either - it uses sudo to install packages for example.
Ho hum.
No tags No comments