use Config;
use IPC::Open2 qw(open2);
+use File::Glob 'bsd_glob';
# for the $^X-es
$ENV{PERL5LIB} = join ($Config{path_sep}, @INC);
# rerun the tests under the assumption of pure-perl
my $this_file = quotemeta(__FILE__);
-for my $fn (glob("t/*.t")) {
+for my $fn (bsd_glob("t/*.t")) {
next if $fn =~ /${this_file}$/;
local $ENV{DEVEL_HIDE_VERBOSE} = 0;