]> git.vpit.fr Git - perl/modules/Test-Valgrind.git/blobdiff - t/70-session.t
Improve detection of executables
[perl/modules/Test-Valgrind.git] / t / 70-session.t
index 1ce46c53a728206a1af257f25c47309acf929651..f39285f703111197bd5d22749d667d793dbd094f 100644 (file)
@@ -3,6 +3,8 @@
 use strict;
 use warnings;
 
+BEGIN { delete $ENV{PATH} }
+
 use Test::Valgrind::Session;
 
 use Test::More tests => 7;
@@ -21,8 +23,6 @@ $sess = eval { Test::Valgrind::Session->new(
 like $@, qr/^No appropriate valgrind executable/, 'nonexistant valgrind';
 
 SKIP: {
- skip 'Only on linux or darwin' => 5 unless $^O eq 'linux' or $^O eq 'darwin';
-
  my $old_vg = Test::Valgrind::FakeValgrind->new(
   version => '3.0.0',
  );