Subject: | Add tests that actually test taint-mode effect |
The tests currently only test taint mode by checking whether $TAINT is 1
or using taint_enabled(). For extra safety, perhaps the tests should also
check that taint mode is actually enforced (e.g. system() fails due to
tainted $ENV{PATH}, open(>)/rename()/unlink() fails if using tainted
filename, etc.
I do this in tainting, BTW.
https://github.com/sharyanto/perl-tainting/blob/master/t/01-basics.t