1 diff -ru orig/t/SATest.pm new/t/SATest.pm
2 --- orig/t/SATest.pm 2023-06-25 11:26:27.663204415 +0000
3 +++ new/t/SATest.pm 2023-06-25 11:34:08.902174669 +0000
6 # Clean PATH so taint doesn't complain
7 if (!$RUNNING_ON_WINDOWS) {
8 - $ENV{'PATH'} = '/bin:/usr/bin:/usr/local/bin';
10 + $ENV{'PATH'} =~ /^(.+)$/;
12 + # $ENV{'PATH'} = '/bin:/usr/bin:/usr/local/bin';
13 # Remove tainted envs, at least ENV used in FreeBSD
14 - delete @ENV{qw(IFS CDPATH ENV BASH_ENV)};
15 + # delete @ENV{qw(IFS CDPATH ENV BASH_ENV)};
17 # Windows might need non-system directories in PATH to run a Perl installation
18 # The best we can do is clean out obviously bad stuff such as relative paths or \..\