t/22_wheel_run.t failed tests 16-21 on one of my systems, much to my chagrin, since it 
was testing code I submitted.  The problem is in the test; it hardwires /usr/bin/perl 
whereas perl is not in that location on this system.  Forthwith, a patch:

--- 22_wheel_run.t~     Tue Apr  3 20:57:18 2001
+++ 22_wheel_run.t      Sat May  5 16:29:05 2001
@@ -6,6 +6,7 @@
 use strict;
 use lib qw(./lib ../lib);
 use Socket;
+use Config;
 
 use TestSetup;
 &test_setup(24);
@@ -126,7 +127,8 @@
 my $tty_flush_count = 0;
 
 my $program =
-  ( '/usr/bin/perl -we \'' .
+  ( $Config{perlpath} .
+    ' -we \'' .
     '$/ = q(!); select STDERR; $| = 1; select STDOUT; $| = 1; ' .
     'while (<STDIN>) { ' .
     '  last if /^bye/; ' .
-- 
Peter Scott
Pacific Systems Design Technologies
http://www.perldebugged.com

Reply via email to