simulated lsof
Robert 'phaylon' Sedlacek [Wed, 11 Jul 2012 21:32:55 +0000 (21:32 +0000)]
t/bin/lsof [new file with mode: 0755]
t/filehandles.t

diff --git a/t/bin/lsof b/t/bin/lsof
new file mode 100755 (executable)
index 0000000..934ac71
Binary files /dev/null and b/t/bin/lsof differ
index 867d497..2ed92aa 100644 (file)
@@ -1,8 +1,11 @@
 use strictures 1;
 use Test::More;
+use FindBin;
 
 use System::Introspector::Probe::FileHandles;
 
+$ENV{PATH} = "$FindBin::Bin/bin:" . $ENV{PATH};
+
 my $probe = System::Introspector::Probe::FileHandles->new;
 
 my $data = $probe->gather;