Bug #1251
- #1251 tests should sanitize TASKDATA and TASKRC env vars (thanks to Jakub Wilk).
This commit is contained in:
@@ -31,6 +31,10 @@ use warnings;
|
||||
use Test::More tests => 12;
|
||||
use File::Path;
|
||||
|
||||
# Ensure environment has no influence.
|
||||
delete $ENV{'TASKDATA'};
|
||||
delete $ENV{'TASKRC'};
|
||||
|
||||
# Create the rc files.
|
||||
if (open my $fh, '>', 'rc1')
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user